ci: use npm install instead of npm ci for cross-platform compat

npm ci fails on Linux CI when package-lock.json was generated on macOS,
because platform-specific optional deps (@rollup/rollup-linux-x64-gnu)
are missing from the lockfile. This is a known npm bug (#4828).
This commit is contained in:
JackChen 2026-04-05 12:05:48 +08:00
parent a24dcb462a
commit a68d961379
1 changed files with 1 additions and 1 deletions

View File

@ -18,6 +18,6 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: npm
- run: npm ci
- run: npm install
- run: npm run lint
- run: npm test