Skip to content

Commit d80babe

Browse files
committed
Fix release publish command
1 parent 481db3d commit d80babe

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,18 @@ jobs:
2424
node-version-file: .node-version
2525
cache: true
2626

27+
- name: Build packages
28+
run: vp run -r build
29+
2730
# Opens/updates a "Version Packages" PR when changesets are present, and
2831
# publishes to npm when that PR is merged (i.e. when no changesets remain).
2932
- name: Create release PR or publish
3033
uses: changesets/action@v1
3134
with:
32-
# `pnpm` isn't on PATH under setup-vp; run the local Changesets binary through `vp exec`.
35+
# changesets/action@v1 splits these strings on whitespace before exec,
36+
# so keep each command to a single Vite+ binary invocation.
3337
version: vp exec -w changeset version
34-
publish: vp run -r --concurrency-limit 1 build && vp exec -w changeset publish
38+
publish: vp exec -w changeset publish
3539
env:
3640
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
3841
NPM_CONFIG_PROVENANCE: "true"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414
"engines": {
1515
"node": ">=22.12.0"
1616
},
17-
"packageManager": "pnpm@11.7.0"
17+
"packageManager": "pnpm@11.10.0"
1818
}

0 commit comments

Comments
 (0)