Skip to content

Change version to 0.1.1-alpha #2

Change version to 0.1.1-alpha

Change version to 0.1.1-alpha #2

Workflow file for this run

name: Publish node to npm
on:
push:
tags:
- 'v*'
permissions: write-all
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: 'https://registry.npmjs.org'
- run: corepack enable pnpm
- run: pnpm install
- run: pnpm run build
- run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}