Skip to content

v1.4.0

v1.4.0 #26

Workflow file for this run

# This workflow will run tests and then publish a package to npm when a release is created.
name: npm Package
on:
release:
types: [created]
jobs:
test:
uses: ./.github/workflows/test.yml
publish:
needs: test
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- name: Checkout
uses: actions/checkout@main
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: latest
registry-url: https://registry.npmjs.org/
- name: Install pnpm
run: npm install pnpm -g
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Publish to npm
run: npm publish