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:
committed by
cartsnitch-ci[bot]
parent
5bb0a5817b
commit
ca8cf2a80a
@@ -57,6 +57,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