Skip to content

Commit

Permalink
Update lighthouse-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cplkake authored Nov 14, 2024
1 parent 2ebe5c6 commit e20ed5d
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions .github/workflows/lighthouse-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,22 +34,7 @@ jobs:
# insert API interaction here

- name: Create lighthouserc.js using Node.js
run: |
node -e "
const fs = require('fs');
const config = {
ci: {
collect: {
url: ['http://localhost']
},
upload: {
target: 'temporary-public-storage'
}
}
};
fs.writeFileSync('.lighthouserc.js', `module.exports = ${JSON.stringify(config, null, 2)};`);
"
run: node generate-lighthouserc.js

- name: Install and run Lighthouse CI
run: |
Expand Down

0 comments on commit e20ed5d

Please sign in to comment.