Skip to content

Commit

Permalink
Fix publish trigger (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
guidanoli authored Jul 18, 2024
1 parent 164c2a8 commit 77136da
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ jobs:
id: changeset
uses: changesets/action@v1
with:
publish: pnpm publish -r
# This expects you to have a script called release
# which builds your packages and calls changeset publish
publish: pnpm run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
"build:site": "pnpm run --filter site build",
"check-format": "prettier --check .",
"format": "prettier --check --write .",
"publish": "changeset publish",
"release": "run-s build publish",
"test": "run-s test:core",
"test:core": "pnpm run --filter @guidanoli/cmioc test"
},
Expand Down

0 comments on commit 77136da

Please sign in to comment.