lighthouse-ci
lighthouse-ci copied to clipboard
gitlab ci blocks during run
lighthouserc.js
module.exports = {
ci: {
collect: {
url: [
'http://127.0.0.1:8089/'
],
numberOfRuns: 3,
startServerCommand: "PORT=8089 node src/server",
settings: {
hostname: '127.0.0.1',
chromeFlags: ['--no-sandbox'],
},
},
upload: {
target: 'temporary-public-storage',
}
}
}
.gitlab-ci.yml
lhci:
stage: test
image: cypress/browsers:node-18.16.1-chrome-114.0.5735.133-1-ff-114.0.2-edge-114.0.1823.51-1
script:
- npm install
- npm install -g @lhci/[email protected]
- npm run build
- lhci autorun --config=./lighthouserc.js || echo "LHCI failed!"
I also got this. Any solution?
Has the npm package been compromised?
$ npx lhci --version
Hello, this is AnupamAS01!
I also got this. Any solution?
no 😞