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
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
|
||||||
- name: Fix rollup optional dependencies
|
- name: Fix optional dependencies
|
||||||
run: npm install rollup --force
|
run: |
|
||||||
|
npm install rollup --force
|
||||||
|
npm install lightningcss --force
|
||||||
|
|
||||||
- name: Run ESLint
|
- name: Run ESLint
|
||||||
run: npx eslint .
|
run: npx eslint .
|
||||||
|
|||||||
Reference in New Issue
Block a user