Skip to content

Release Test

Release Test #4

Workflow file for this run

name: Node.js Package
on:
release:
types: [created]
jobs:
publish-gpr:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.x
registry-url: https://npm.pkg.github.com/
- run: npm ci
- run: npm run update_version -- --version="${{ github.ref_name }}"
- run: npm run generate
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}