diff --git a/.github/workflows/lighthouse-ci.yml b/.github/workflows/lighthouse-ci.yml index b991f4a42..c7991bcb5 100644 --- a/.github/workflows/lighthouse-ci.yml +++ b/.github/workflows/lighthouse-ci.yml @@ -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: |