add lighthouse CI checks for core features
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
name: Verify Accessibility Core features
|
||||
on:
|
||||
pull_request:
|
||||
branches: [master]
|
||||
paths:
|
||||
- 'plugins/catalog/**'
|
||||
- 'plugins/techdocs/**'
|
||||
- 'plugins/scaffolder/**'
|
||||
- 'plugins/search/**'
|
||||
|
||||
jobs:
|
||||
lhci:
|
||||
name: Lighthouse
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Use Node.js 16.x
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16.x
|
||||
- name: install dependencies
|
||||
run: |
|
||||
yarn install
|
||||
- name: run Lighthouse CI
|
||||
run: |
|
||||
npm install -g @lhci/cli@0.11.x
|
||||
lhci autorun
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
Reference in New Issue
Block a user