diff options
-rw-r--r-- | .github/workflows/bun-dependenies-build.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/bun-dependenies-build.yml b/.github/workflows/bun-dependenies-build.yml index 08b0590c4..1d3736423 100644 --- a/.github/workflows/bun-dependenies-build.yml +++ b/.github/workflows/bun-dependenies-build.yml @@ -105,11 +105,15 @@ jobs: registry-url: "https://registry.npmjs.org" - name: Publish to npm if: github.ref != 'refs/heads/main' + env: + NPM_TOKEN: ${{secrets.NPM_BUN_TYPES_TOKEN}} run: | cd ${{runner.temp}}/dependencies npm publish --tag canary --access=public - name: Publish to npm if: github.ref == 'refs/heads/main' + env: + NPM_TOKEN: ${{secrets.NPM_BUN_TYPES_TOKEN}} run: | cd ${{runner.temp}}/dependencies npm publish --tag next --access=public |