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.
This commit is contained in:
ZacharyZcR
2025-10-10 00:14:06 +08:00
parent 52adc3b453
commit d35bd139ae

View File

@@ -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 .