Merge pull request #249 from SanctumLabs/dependabot/github_actions/do… #207
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: NodeJS Package | |
on: | |
push: | |
branches: [master, beta, develop] | |
jobs: | |
publish-gpr: | |
name: Publish to Github NPM Registry | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 13 | |
registry-url: https://npm.pkg.github.com/ | |
- run: npm install | |
- run: npm publish | |
env: | |
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} |