From 629c69a7b2e1a7e4abe5ba2153497c2e9606430b Mon Sep 17 00:00:00 2001 From: RetricSu Date: Fri, 16 Jan 2026 12:00:03 +0800 Subject: [PATCH] fix(build): canary release with correct --version --- .github/workflows/canary-publish.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/canary-publish.yml b/.github/workflows/canary-publish.yml index c6bdd12..b82bed2 100644 --- a/.github/workflows/canary-publish.yml +++ b/.github/workflows/canary-publish.yml @@ -24,9 +24,6 @@ jobs: - name: Install dependencies run: npm install -g pnpm && pnpm i - - name: Build - run: pnpm build - - name: Set up Git identity run: | git config --local user.email "github-actions[bot]@users.noreply.github.com" @@ -37,6 +34,9 @@ jobs: SHORT_COMMIT_ID=$(git log -1 --pretty=format:%h) npm version prerelease --preid="canary-$SHORT_COMMIT_ID" + - name: Build + run: pnpm build + - name: Canary release to npm run: | npm publish --access public --tag canary