From d35bd139ae13d84380b93f6d384c8d7f825c5a30 Mon Sep 17 00:00:00 2001 From: ZacharyZcR Date: Fri, 10 Oct 2025 00:14:06 +0800 Subject: [PATCH] chore: fix lightningcss optional dependencies in CI Add lightningcss to the force reinstall step to fix npm optional dependencies bug for both rollup and lightningcss on Linux x64. --- .github/workflows/pr-check.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml index 06ac2351..d8ed568b 100644 --- a/.github/workflows/pr-check.yml +++ b/.github/workflows/pr-check.yml @@ -21,8 +21,10 @@ jobs: - name: Install dependencies run: npm ci - - name: Fix rollup optional dependencies - run: npm install rollup --force + - name: Fix optional dependencies + run: | + npm install rollup --force + npm install lightningcss --force - name: Run ESLint run: npx eslint .