Skip to content

Fix publish workflow #2

Fix publish workflow

Fix publish workflow #2

Workflow file for this run

name: Publish
on:
push:
branches:
- 'main'
jobs:
publish:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout project
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Setup pnpm
uses: pnpm/[email protected]
with:
version: 9
run_install: true
- name: Publish
env:
NPM_TOKEN: ${{ secrets.NPM_BOT_TOKEN }}
run: pnpm -r publish --access public