Skip to content

Commit d6c728a

Browse files
committed
chore: update release version script
We need to reformat the package.json after changeset run
1 parent 1bfd9f5 commit d6c728a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ jobs:
9090
title: "Release new version"
9191
commit: "update version"
9292
publish: pnpm publish:ci
93+
version: pnpm publish:version
9394
env:
9495
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9596
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"build": "tsup",
3030
"dev": "tsup --watch",
3131
"publish:ci": "pnpm build && pnpm changeset publish",
32+
"publish:version": "pnpm changeset version && pnpm format",
3233
"test": "vitest run --coverage",
3334
"test:ci": "vitest run --coverage",
3435
"lint": "biome check",

0 commit comments

Comments
 (0)