Skip to content

v0.2.0

v0.2.0 #3

Workflow file for this run

name: Publish
on:
release:
types: created
jobs:
publish:
name: 'Publish NPM package to GitHub Packages'
runs-on: ubuntu-latest
timeout-minutes: 2
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
registry-url: 'https://npm.pkg.github.com'
scope: '@the-curve-consulting'
- name: Install NPM dependencies
run: npm ci
- name: Publish the package
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}