Skip to content

Commit a881b0d

Browse files
committed
fix: use npm install in CI to avoid Windows lockfile platform mismatch
package-lock.json generated on Windows locked lightningcss-android-arm64 as an optional dep, causing npm ci to fail on Linux runners. Remove the lockfile and switch to npm install so the runner resolves platform-correct optional dependencies.
1 parent b6409cd commit a881b0d

2 files changed

Lines changed: 2 additions & 4218 deletions

File tree

.github/workflows/deploy-docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
cache-dependency-path: 'docs/package-lock.json'
4545

4646
- name: Install dependencies
47-
run: npm ci
47+
run: npm install
4848
working-directory: docs
4949

5050
- name: Run security audit
@@ -78,7 +78,7 @@ jobs:
7878
${{ runner.os }}-vitepress-
7979
8080
- name: Install dependencies
81-
run: npm ci
81+
run: npm install
8282

8383
- name: Build VitePress documentation
8484
run: npm run docs:build

0 commit comments

Comments
 (0)