Workflow file for this run
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: Publish in GitHub Package Registry | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
publish-gpr: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v4 | |
- name: Configure GitHub Package Registry as Publish Target | |
uses: actions/setup-node@v3 | |
with: | |
registry-url: 'https://npm.pkg.github.com' | |
scope: '@supercharge' | |
- name: Publish to GitHub Package Registry | |
run: npm publish | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.GH_PUBLISH_GPR_TOKEN }} |