Skip to content
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 }}