Skip to content

Commit 77136da

Browse files
authored
Fix publish trigger (#33)
1 parent 164c2a8 commit 77136da

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/release.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ jobs:
3535
id: changeset
3636
uses: changesets/action@v1
3737
with:
38-
publish: pnpm publish -r
38+
# This expects you to have a script called release
39+
# which builds your packages and calls changeset publish
40+
publish: pnpm run release
3941
env:
4042
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4143
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
"build:site": "pnpm run --filter site build",
1010
"check-format": "prettier --check .",
1111
"format": "prettier --check --write .",
12+
"publish": "changeset publish",
13+
"release": "run-s build publish",
1214
"test": "run-s test:core",
1315
"test:core": "pnpm run --filter @guidanoli/cmioc test"
1416
},

0 commit comments

Comments
 (0)