Skip to content

Commit 11d8293

Browse files
committed
chore(ci): 🔧 👷 set npm config token and local npmrc for publish
1 parent b3882df commit 11d8293

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/release-please.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ jobs:
4848
working-directory: ${{ matrix.path }}
4949
env:
5050
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
51+
NPM_CONFIG_TOKEN: ${{ secrets.NPM_TOKEN }}
5152
run: |
5253
printf '//registry.npmjs.org/:_authToken=%s\n' "$NPM_TOKEN" > "$HOME/.npmrc"
54+
printf '//registry.npmjs.org/:_authToken=%s\n' "$NPM_TOKEN" > .npmrc
5355
bun publish --access public --tolerate-republish

0 commit comments

Comments
 (0)