Skip to content

Commit 989fc69

Browse files
authored
Format package.json after running changeset (#2904)
1 parent 0924259 commit 989fc69

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/publish.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
uses: changesets/action@v1
2929
with:
3030
publish: npm run release
31+
version: npm run changeset-version
3132
env:
3233
# Using a PAT instead of GITHUB_TOKEN because we need to run workflows when releases are created
3334
# https://github.com/orgs/community/discussions/26875#discussioncomment-3253761

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"e2e": "turbo run e2e",
2828
"e2e-customers": "turbo run e2e-customers",
2929
"changeset": "changeset",
30+
"changeset-version": "changeset version && bun run format",
3031
"release": "turbo run release && changeset publish",
3132
"release:preview": "turbo run release:preview",
3233
"download:env": "op read op://gitbook-x-dev/gitbook-open/.env.local >> .env.local",

0 commit comments

Comments
 (0)