Skip to content

Commit 206b6de

Browse files
committed
Fix changeset
1 parent fe8d889 commit 206b6de

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ jobs:
2828
- name: Create Release Pull Request or Publish to npm
2929
uses: changesets/action@v1
3030
with:
31-
version: pnpm install --no-frozen-lockfile && pnpm changeset version
32-
publish: pnpm release && pnpm install --no-frozen-lockfile
31+
version: pnpm ci:version
32+
publish: pnpm ci:release
3333
env:
3434
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3535
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@
2121
"test:fix": "pnpm lint:fix && pnpm test && pnpm format:fix && pnpm typecheck",
2222
"no-git-changes": "./scripts/no-git-changes.sh",
2323
"check-examples": "ts-node --transpile-only ./scripts/check-examples.ts",
24-
"prerelease": "pnpm lint && pnpm format && pnpm test && pnpm typecheck",
25-
"release": "pnpm build && pnpm changeset publish"
24+
"ci:version": "pnpm install --no-frozen-lockfile && pnpm changeset version",
25+
"pre:ci:release": "pnpm lint && pnpm format && pnpm test && pnpm typecheck",
26+
"ci:release": "pnpm pre:ci:release && pnpm build && pnpm changeset publish"
2627
},
2728
"devDependencies": {
2829
"@changesets/cli": "^2.22.0",

0 commit comments

Comments
 (0)