workflows: fixes for verify_accessibility_core

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2023-04-18 11:02:53 +02:00
parent 66c0ece34b
commit 0a5a6971f4
2 changed files with 5 additions and 3 deletions
@@ -3,6 +3,8 @@ on:
pull_request:
branches: [master]
paths:
- 'lighthouserc.js'
- '.github/workflows/verify_accessibility_core.yml'
- 'plugins/catalog/**'
- 'plugins/techdocs/**'
- 'plugins/scaffolder/**'
@@ -21,10 +23,9 @@ jobs:
- name: yarn install
uses: backstage/actions/yarn-install@v0.6.3
with:
cache-prefix: ${{ runner.os }}-16.x
cache-prefix: ${{ runner.os }}-v16.x
- name: run Lighthouse CI
run: |
npm install -g @lhci/cli@0.11.x
lhci autorun
yarn dlx @lhci/cli@0.11.x autorun
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+1
View File
@@ -42,6 +42,7 @@ module.exports = {
preset: 'desktop',
},
startServerCommand: 'yarn dev',
startServerReadyPattern: 'webpack compiled successfully',
startServerReadyTimeout: 600000,
numberOfRuns: 1,
puppeteerScript: './.lighthouseci/scripts/guest-auth.js',