ci(publish-npm): add ssh setup and review builtin generation
Add SSH agent setup before build so generate-review-builtin.ts can clone the private costrict-review repo. Also run the generator explicitly with continue-on-error to ensure the bundled review skills file exists before Bun.build. Co-authored-by: CoStrict <zgsm@sangfor.com.cn>
This commit is contained in:
parent
86c68723a4
commit
5890d776dd
9
.github/workflows/publish-npm.yml
vendored
9
.github/workflows/publish-npm.yml
vendored
|
|
@ -73,6 +73,15 @@ jobs:
|
|||
with:
|
||||
bun-version: latest
|
||||
|
||||
- name: Setup SSH for review agent generation
|
||||
uses: webfactory/ssh-agent@v0.9.0
|
||||
with:
|
||||
ssh-private-key: ${{ secrets.MY_SSH_PRIVATE_KEY }}
|
||||
|
||||
- name: Generate review builtin files
|
||||
run: bun run scripts/generate-review-builtin.ts
|
||||
continue-on-error: true
|
||||
|
||||
- name: Install dependencies
|
||||
run: bun install --frozen-lockfile
|
||||
# - name: Type check
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user