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:
6
.github/workflows/pr-check.yml
vendored
6
.github/workflows/pr-check.yml
vendored
@@ -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 .
|
||||
|
||||
Reference in New Issue
Block a user