mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-22 18:43:29 +00:00
Fix publishing to NPM (#3809)
This commit is contained in:
@@ -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
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user