Merge pull request #10 from ProAngular/ct/v1.3.1 #15
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
# Github Package Deployment | |
# https://docs.github.com/en/packages | |
# https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages | |
name: Verify and Deploy to GitHub Packages | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy_gpr_package: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "16.x" | |
registry-url: "https://npm.pkg.github.com" | |
- run: npm ci | |
- run: npm run npm-build-package | |
- run: cd dist/npm && npm publish | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |