Fix publishing to NPM (#3809)

This commit is contained in:
Samy Pessé
2025-11-16 00:25:26 +01:00
committed by GitHub
parent 5b0917a13a
commit 79ad7bcb59
2 changed files with 5 additions and 3 deletions
+3 -2
View File
@@ -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 }}
+2 -1
View File
@@ -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": {