Skip to content

fix: use pnpm (#160) #98

fix: use pnpm (#160)

fix: use pnpm (#160) #98

Workflow file for this run

name: Publish
on:
push:
branches:
- main
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- name: setup node
uses: actions/setup-node@v2
with:
node-version: 22
registry-url: https://registry.npmjs.org/
cache: 'pnpm'
- run: pnpm install
- run: pnpm run release
env:
HUSKY: 0 # semantic-release does a push which would trigger the pre-push git hook
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}