Prepare Lighthouse dependencies in CI
This commit is contained in:
@@ -40,6 +40,21 @@ jobs:
|
||||
if: always()
|
||||
run: .davidson-ci/modules/css.sh
|
||||
|
||||
- name: Prepare Lighthouse
|
||||
if: always()
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get install -y chromium
|
||||
npm install -g lighthouse
|
||||
|
||||
echo "CHROME_PATH=$(command -v chromium)" >> "$GITHUB_ENV"
|
||||
|
||||
echo "Lighthouse:"
|
||||
lighthouse --version
|
||||
|
||||
echo "Chromium:"
|
||||
chromium --version
|
||||
|
||||
- name: Lighthouse
|
||||
id: lighthouse
|
||||
if: always()
|
||||
|
||||
Reference in New Issue
Block a user