Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,10 @@ jobs:
id: changesets
uses: changesets/action@v1
with:
publish: npm run publish-all-packages
version: npm run changeset-version
publish: bun run publish-all-packages
version: bun run changeset-version
env:
# Using a PAT instead of GITHUB_TOKEN because we need to run workflows when releases are created
# https://github.com/orgs/community/discussions/26875#discussioncomment-3253761
GITHUB_TOKEN: ${{ secrets.GH_PERSONAL_TOKEN }}

3 changes: 2 additions & 1 deletion turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@
// Publish the package to npm
"publish-to-npm": {
"dependsOn": ["build"],
"cache": false
"cache": false,
"env": ["NODE_AUTH_TOKEN", "NPM_CONFIG_USERCONFIG"]
},
// Clean up the package
"clean": {
Expand Down
Loading