From 79ad7bcb59eb737890ba83577c385e1bb2d6e96f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samy=20Pess=C3=A9?= Date: Sun, 16 Nov 2025 00:25:26 +0100 Subject: [PATCH] Fix publishing to NPM (#3809) --- .github/workflows/publish.yaml | 5 +++-- turbo.json | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index d4c061133..cdbf15a8b 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -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 }} + diff --git a/turbo.json b/turbo.json index e36f30054..1b6fa6e84 100644 --- a/turbo.json +++ b/turbo.json @@ -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": {