Skip to content

ci: fix

ci: fix #2

Workflow file for this run

name: Publish
on:
push:
branches:
- "main"
concurrency: ${{github.workflow}}-${{github.ref}}
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: pnpm setup
uses: pnpm/action-setup@v3
with:
version: 8
- name: setup node
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: "pnpm"
- run: pnpm install --frozen-lockfile
- name: Create Release PR
id: changesets
uses: changesets/action@v1
with:
publish: pnpm publish
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}