Merge pull request #10 from ProAngular/ct/v1.3.1 #15
This file contains hidden or 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
# npmjs Package Deployment | |
# https://docs.npmjs.com/about-packages-and-modules | |
name: Verify and Deploy to npmjs | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy_npmjs_package: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "16.x" | |
registry-url: "https://registry.npmjs.org" | |
- run: npm ci | |
- run: npm run npm-build-package | |
- run: cd dist/npm && npm publish | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} |