Skip to content

chore: bump to 0.2.9 - test CI publish #2

chore: bump to 0.2.9 - test CI publish

chore: bump to 0.2.9 - test CI publish #2

Workflow file for this run

name: Publish to npm
on:
push:
tags:
- 'v*' # Triggers on version tags like v0.2.7
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write # Required for npm provenance
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm ci
- name: Publish to npm
run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}