Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ jobs:
- uses: changesets/action@v1
id: changesets
with:
version: npx changeset version && node ./scripts/sync-version.mjs
# Single command: the action whitespace-splits this input and spawns
# it as args (no shell), so chaining belongs in the package script.
version: npm run changeset:version
publish: node ./scripts/release.mjs
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"format": "prettier --write .",
"format:check": "prettier --check .",
"changeset": "changeset",
"changeset:version": "changeset version && node ./scripts/sync-version.mjs",
"build": "tsc -p tsconfig.build.json",
"typecheck": "tsc",
"test": "vitest run",
Expand Down
Loading