Merge pull request #494 from adithya321/required-only-if-visible #93
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy | |
env: | |
CI: true | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
- name: setup Node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 20.11 | |
- run: npm install | |
- name: Github pages | |
uses: sterlingwes/[email protected] | |
with: | |
access-token: ${{ secrets.ACCESS_TOKEN }} | |
source-directory: dist/ngx-schema-form | |
build-command: npm run build-demo | |
- name: Tag | |
run: ./tag-version.sh | |
- run: npm run build:lib | |
- name: Publish | |
uses: JS-DevTools/npm-publish@v1 | |
with: | |
token: ${{ secrets.NPM_TOKEN }} | |
package: ./dist/schema-form/package.json |