diff --git a/.circleci/config.yml b/.circleci/config.yml index 7daf43e22c..68507de339 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -86,12 +86,6 @@ jobs: command: | mkdir ~/rspec bundle exec rspec --format progress --format RspecJunitFormatter -o ~/rspec/rspec.xml - - run: - name: Install Lighthouse - command: sudo npm install -g @lhci/cli@0.8.x - - run: - name: Run Lighthouse - command: lhci autorun - store_test_results: path: ~/rspec - store_artifacts: diff --git a/lighthouserc.js b/lighthouserc.js deleted file mode 100644 index 82bb7531e8..0000000000 --- a/lighthouserc.js +++ /dev/null @@ -1,23 +0,0 @@ -module.exports = { - ci: { - collect: { - url: ['http://localhost:3000/', 'http://localhost:3000/primary-teachers', 'http://localhost:3000/secondary-teachers'], - startServerCommand: 'bin/rails server', - numberOfRuns: 1, - settings: { - onlyCategories: ['accessibility', 'best-practices', 'seo'], - skipAudits: ['cumulative-layout-shift'], - maxWaitForLoad: 90000, - verbose: true, - }, - }, - // If we want to start failing the test suite on lighthouse failures we add - // the assertions - // assert: { - // preset: 'lighthouse:no-pwa' - // }, - upload: { - target: 'temporary-public-storage', - }, - }, -};