Skip to content

v0.1.3

v0.1.3 #3

Workflow file for this run

name: Node.js Package
on:
release:
types: [created]
jobs:
publish:
if: "!github.event.release.prerelease"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- name: Install dependencies
run: |
npm install pnpm -g
pnpm install
- name: Build TypeScript files
run: pnpm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.npm_token }}