Skip to content

1.2.8

1.2.8 #7

Workflow file for this run

name: Publish
on:
push:
tags:
- v*
jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- run: pnpm install
- run: pnpm test
- run: pnpm build
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}