Skip to content

v0.18.0

v0.18.0 #94

Workflow file for this run

# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
name: Node.js Package
on:
release:
types: [created]
push:
tags:
- "v*"
jobs:
publish-npm:
runs-on: ubuntu-latest
environment: publish
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/npm-ci
with:
cache-dependency-path: package-lock.json
working-directory: .
node-version: "16" # matches the version in shell.nix and package.json
# registry-url: https://npm.pkg.github.com/
- run: npm publish
working-directory: .
env:
NODE_AUTH_TOKEN: ${{secrets.NPMJS_AUTH_TOKEN}}