diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9fe6234..4a3a917 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,7 +31,7 @@ jobs: with: title: "chore(release): new version" publish: pnpm release - version: pnpm changeset version && pnpm style:fix + version: pnpm changeset-version env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/package.json b/package.json index 02e350b..9bc8471 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,8 @@ "style:fix": "biome check --write --unsafe", "build": "pnpm -r build", "test": "vitest", - "release": "pnpm build && pnpm changeset publish --no-git-tag" + "release": "pnpm build && pnpm changeset publish --no-git-tag", + "changeset-version": "pnpm changeset version && pnpm style:fix" }, "devDependencies": { "@biomejs/biome": "^1.9.4",