Skip to content

0.2.8

0.2.8 #5

Workflow file for this run

name: Publish to NPM
on:
release:
types: [published]
jobs:
npm-publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
run_install: true
- name: Install Node.js
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
with:
node-version: "22"
cache: pnpm
registry-url: "https://registry.npmjs.org"
- name: Build package
run: pnpm run build
- name: Publish package to npm
run: pnpm publish --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_CONFIG_PROVENANCE: true