Skip to content

Commit 4c3c048

Browse files
fix(publishing): update changesets action to run pnpm publish directly (#1205)
1 parent 449aa9d commit 4c3c048

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ jobs:
3232
uses: changesets/action@v1
3333
with:
3434
version: pnpm run version
35-
# This expects you to have a script called release which does a build for your packages and calls changeset publish
36-
publish: pnpm run release
35+
publish: pnpm publish -r
3736
env:
3837
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3938
NPM_TOKEN: ${{ secrets.NPM_SECRET }}

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
"lint": "pnpm run -r lint",
1313
"test": "pnpm run build && pnpm run -r --parallel test",
1414
"version": "changeset version && pnpm install --prefer-offline",
15-
"release": "changeset publish",
1615
"changeset": "changeset",
1716
"clean": "pnpm run clean:packages && pnpm run clean:root",
1817
"clean:packages": "pnpm run -r clean",

0 commit comments

Comments
 (0)