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": {