aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-01-27 17:01:10 -0800
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-01-27 17:01:10 -0800
commitdac4d5af9d54e78b74385e21255bc1a78b752892 (patch)
treedeeb7dc0972186d010c30008c1af7ec9bd0be534
parent16ef9aa8c79541123921648f50aa8cc66a2ba77b (diff)
downloadbun-dac4d5af9d54e78b74385e21255bc1a78b752892.tar.gz
bun-dac4d5af9d54e78b74385e21255bc1a78b752892.tar.zst
bun-dac4d5af9d54e78b74385e21255bc1a78b752892.zip
Update bun-dependenies-build.yml
-rw-r--r--.github/workflows/bun-dependenies-build.yml4
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