Skip to content

Commit ea14f69

Browse files
SuperMarioYLclaude
andcommitted
ci: use npm install (not ci) in release gate for cross-platform optional deps
macOS-generated lockfile omits @rollup/rollup-linux-x64-gnu; npm install resolves platform binaries on the Linux runner. Matches the web-ui Dockerfile. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 1893247 commit ea14f69

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,10 @@ jobs:
5959

6060
- name: Web install
6161
working-directory: web-ui
62-
run: npm ci --no-audit --no-fund
62+
# Use npm install (not ci) so platform-specific optional deps such as
63+
# @rollup/rollup-linux-x64-gnu resolve on the Linux runner even though the
64+
# committed lockfile was generated on another platform.
65+
run: npm install --no-audit --no-fund
6366

6467
- name: Web lint
6568
working-directory: web-ui

0 commit comments

Comments
 (0)