From f74a71b6832bfbd0b43c8a75e7fff778e13be77b Mon Sep 17 00:00:00 2001 From: Timo Glastra Date: Tue, 19 Nov 2024 11:48:22 +0100 Subject: [PATCH] ci: script Signed-off-by: Timo Glastra --- .github/workflows/release.yml | 2 +- package.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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",