Skip to content

Version 10.0.0-alpha1 #26

Version 10.0.0-alpha1

Version 10.0.0-alpha1 #26

Workflow file for this run

name: Node.js Package
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
- uses: actions/setup-node@v4
with:
node-version: 21
cache: pnpm
- run: pnpm install && pnpm run build
publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
- uses: actions/setup-node@v4
with:
node-version: 21
cache: pnpm
registry-url: https://registry.npmjs.org/
- run: pnpm install && pnpm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}