summaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-10-28 21:28:44 -0400
committerDax Raad <[email protected]>2025-10-28 21:28:44 -0400
commitdb3fb9d316d57c0673196a56fbe552d6fe66be26 (patch)
tree80feeb47980403dc94835e2d9d9f7f8fc2455ce5 /.github
parentcd79676b42cefad289c21631605c737fbe461f80 (diff)
downloadopencode-db3fb9d316d57c0673196a56fbe552d6fe66be26.tar.gz
opencode-db3fb9d316d57c0673196a56fbe552d6fe66be26.zip
ci: stuff
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/publish.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index c88860a0f..df1a36f77 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -53,13 +53,17 @@ jobs:
- name: Install OpenCode
run: curl -fsSL https://opencode.ai/install | bash
+ - name: Setup npm auth
+ run: |
+ echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
+
- name: Publish
run: |
./script/publish.ts
env:
OPENCODE_BUMP: ${{ inputs.bump }}
OPENCODE_CHANNEL: latest
+ NPM_CONFIG_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.SST_GITHUB_TOKEN }}
AUR_KEY: ${{ secrets.AUR_KEY }}
- NPM_CONFIG_TOKEN: ${{ secrets.NPM_TOKEN }}
OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }}