Skip to content

Commit b9ac154

Browse files
authored
Use pnpm publish -r to publish packages (#189)
Following the instructions here: https://pnpm.io/using-changesets
1 parent da699b1 commit b9ac154

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ jobs:
3636
id: changesets
3737
uses: changesets/action@v1
3838
with:
39-
version: pnpm version:prepare
40-
publish: pnpm release
39+
version: pnpm ci:version
40+
publish: pnpm ci:publish
4141
env:
4242
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4343
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
"test": "turbo run test",
88
"test-e2e": "turbo run test-e2e",
99
"format": "prettier --write \"**/*.{ts,js}\"",
10-
"version:prepare": "changeset version && pnpm install --no-frozen-lockfile",
11-
"release": "changeset publish"
10+
"ci:version": "changeset version && pnpm install --no-frozen-lockfile",
11+
"ci:publish": "pnpm publish -r"
1212
},
1313
"devDependencies": {
1414
"@changesets/cli": "^2.26.1",

0 commit comments

Comments
 (0)