diff options
author | 2023-01-27 17:01:10 -0800 | |
---|---|---|
committer | 2023-01-27 17:01:10 -0800 | |
commit | dac4d5af9d54e78b74385e21255bc1a78b752892 (patch) | |
tree | deeb7dc0972186d010c30008c1af7ec9bd0be534 | |
parent | 16ef9aa8c79541123921648f50aa8cc66a2ba77b (diff) | |
download | bun-dac4d5af9d54e78b74385e21255bc1a78b752892.tar.gz bun-dac4d5af9d54e78b74385e21255bc1a78b752892.tar.zst bun-dac4d5af9d54e78b74385e21255bc1a78b752892.zip |
Update bun-dependenies-build.yml
-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 |