Skip to content

v0.2.1

v0.2.1 #9

Workflow file for this run

name: npm publish
on:
release:
types: [published]
jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
run_install: false
- name: Setup node
uses: actions/setup-node@v4
with:
node-version-file: .tool-versions
registry-url: 'https://registry.npmjs.org'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm build
- name: Publish to npm
run: pnpm publish --no-git-checks --access=public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}