Skip to content

Commit 59a1b42

Browse files
committed
ci: avoid redundant rust rebuilds in npm publish workflows
1 parent 23a04b3 commit 59a1b42

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/ci-pre-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
uses: Swatinem/rust-cache@v2
5353

5454
- name: Install Node dependencies
55-
run: pnpm install
55+
run: pnpm install --frozen-lockfile --ignore-scripts
5656

5757
- name: Check formatting
5858
run: cargo fmt --all -- --check

.github/workflows/publish-npm.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
registry-url: 'https://registry.npmjs.org'
5252

5353
- name: Install Node dependencies
54-
run: pnpm install --frozen-lockfile
54+
run: pnpm install --frozen-lockfile --ignore-scripts
5555

5656
- name: Download darwin-arm64 binary
5757
uses: actions/download-artifact@v5
@@ -100,7 +100,6 @@ jobs:
100100
101101
- name: Build Node packages
102102
run: |
103-
pnpm -C packages/core build
104103
pnpm -C packages/cli-node build
105104
106105
- name: Publish @opencode-cloud/cli-node-darwin-arm64

0 commit comments

Comments
 (0)