Skip to content

chore: 0.1

chore: 0.1 #13

Workflow file for this run

name: Publish to NPM
on:
push:
tags:
- '3001*' # Publish on tags like 3001.0.0, 3001.0.1-rc.0, etc.
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
registry-url: "https://registry.npmjs.org"
node-version: 20
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
run_install: false
- name: Install dependencies
run: pnpm install
- name: Publish to NPM
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}