Remove analytics console log statement in CI #4470
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lighthouse CI accessibility checks | |
on: [pull_request] | |
env: | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} | |
jobs: | |
lhci: | |
name: Lighthouse CI | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: Install Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
- name: Install dependencies | |
run: yarn install | |
- name: Build pages | |
run: yarn build | |
- name: Build urls | |
run: node ./lighthouse/lighthouse-get-urls.js | |
- name: Run Lighthouse CI | |
run: | | |
npm install -g @lhci/[email protected] | |
lhci autorun --config=./lighthouse/lighthouserc.js | |
env: | |
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }} |