fix(ci): bump Lighthouse to 13.4.0
This commit is contained in:
@@ -19,14 +19,9 @@ jobs:
|
||||
|
||||
- name: Install Google Chrome
|
||||
run: |
|
||||
if command -v google-chrome-stable >/dev/null 2>&1; then
|
||||
echo "Chrome already present."
|
||||
else
|
||||
apt-get update
|
||||
wget -q https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
|
||||
apt install -y ./google-chrome*.deb
|
||||
fi
|
||||
google-chrome-stable --version
|
||||
apt-get update
|
||||
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
|
||||
apt install -y ./google-chrome*.deb
|
||||
|
||||
- name: Install global packages
|
||||
run: npm i -g pm2 @sasjs/cli wait-on
|
||||
|
||||
@@ -51,7 +51,7 @@ This project includes automated Lighthouse performance and accessibility checks
|
||||
The Lighthouse CI workflow:
|
||||
1. Sets up the development environment with SASjs server and mocked services
|
||||
2. Builds and serves the Angular frontend
|
||||
3. Installs Chrome (if absent) and runs `lhci autorun` (Lighthouse CI) against key pages
|
||||
3. Installs Chrome and runs `lhci autorun` (Lighthouse CI) against key pages
|
||||
4. Uploads results as artifacts for review
|
||||
|
||||
To run Lighthouse checks locally:
|
||||
|
||||
Generated
+1062
-504
File diff suppressed because it is too large
Load Diff
+2
-1
@@ -136,6 +136,7 @@
|
||||
},
|
||||
"overrides": {
|
||||
"ajv": "8.18.0",
|
||||
"uuid": "11.1.1"
|
||||
"uuid": "11.1.1",
|
||||
"lighthouse": "13.4.0"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user