From 52adc3b453a8e13bcbc552804257bbf64a1f09ad Mon Sep 17 00:00:00 2001 From: ZacharyZcR Date: Fri, 10 Oct 2025 00:11:09 +0800 Subject: [PATCH] chore: fix rollup optional dependencies installation in CI Add step to force reinstall rollup after npm ci to fix the known npm bug with optional dependencies on Linux x64 platform. --- .github/workflows/pr-check.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml index 252adbcb..06ac2351 100644 --- a/.github/workflows/pr-check.yml +++ b/.github/workflows/pr-check.yml @@ -21,6 +21,9 @@ jobs: - name: Install dependencies run: npm ci + - name: Fix rollup optional dependencies + run: npm install rollup --force + - name: Run ESLint run: npx eslint .