Skip to content

Commit db3fb9d

Browse files
committed
ci: stuff
1 parent cd79676 commit db3fb9d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,17 @@ jobs:
5353
- name: Install OpenCode
5454
run: curl -fsSL https://opencode.ai/install | bash
5555

56+
- name: Setup npm auth
57+
run: |
58+
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
59+
5660
- name: Publish
5761
run: |
5862
./script/publish.ts
5963
env:
6064
OPENCODE_BUMP: ${{ inputs.bump }}
6165
OPENCODE_CHANNEL: latest
66+
NPM_CONFIG_TOKEN: ${{ secrets.NPM_TOKEN }}
6267
GITHUB_TOKEN: ${{ secrets.SST_GITHUB_TOKEN }}
6368
AUR_KEY: ${{ secrets.AUR_KEY }}
64-
NPM_CONFIG_TOKEN: ${{ secrets.NPM_TOKEN }}
6569
OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }}

0 commit comments

Comments
 (0)