forked from cartsnitch/cartsnitch
fix(ci): install Chromium before running Lighthouse CI
lhci autorun requires Chrome to be present on the runner. This was causing the lighthouse job to fail with "Chrome installation not found". Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
@@ -71,6 +71,8 @@ jobs:
|
|||||||
cache: npm
|
cache: npm
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npm run build
|
- run: npm run build
|
||||||
|
- name: Install Chromium
|
||||||
|
uses: browser-actions/chromium@v3
|
||||||
- name: Run Lighthouse CI
|
- name: Run Lighthouse CI
|
||||||
run: |
|
run: |
|
||||||
npm install -g @lhci/cli
|
npm install -g @lhci/cli
|
||||||
|
|||||||
Reference in New Issue
Block a user