Skip to content

Commit cba3e7d

Browse files
committed
fix(release): pass token to bun publish
1 parent b12f1aa commit cba3e7d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,8 @@ jobs:
259259
- name: Publish to npm
260260
if: steps.compare_npm.outputs.should_release != 'false' && github.actor != 'github-actions[bot]'
261261
shell: bash
262+
env:
263+
NPM_CONFIG_TOKEN: ${{ secrets.NPM_TOKEN }}
262264
run: |
263265
set -euo pipefail
264266
PKG_PATH="packages/app/package.json"
@@ -277,6 +279,8 @@ jobs:
277279
- name: Publish to GitHub Packages
278280
if: steps.compare_npm.outputs.should_release != 'false' && github.actor != 'github-actions[bot]'
279281
shell: bash
282+
env:
283+
NPM_CONFIG_TOKEN: ${{ secrets.GITHUB_TOKEN }}
280284
run: |
281285
set -euo pipefail
282286
OWNER="${{ github.repository_owner }}"

0 commit comments

Comments
 (0)