forked from backstage/backstage
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (35 loc) · 1.03 KB
/
verify_accessibility.yml
File metadata and controls
35 lines (35 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Accessibility
on:
# NOTE: If you change these you must update verify_accessibility_core-noop.yml as well
pull_request:
branches: [master]
paths:
- 'lighthouserc.js'
- '.github/workflows/verify_accessibility_core.yml'
- 'plugins/catalog/src/**'
- 'plugins/catalog-react/src/**'
- 'plugins/techdocs/src/**'
- 'plugins/techdocs-react/src/**'
- 'plugins/scaffolder/src/**'
- 'plugins/scaffolder-react/src/**'
- 'plugins/search/src/**'
- 'plugins/search-react/src/**'
jobs:
lhci:
name: Accessibility
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: yarn install
uses: backstage/actions/yarn-install@v0.6.3
with:
cache-prefix: ${{ runner.os }}-v16.x
- name: run Lighthouse CI
run: |
yarn dlx @lhci/cli@0.11.x autorun
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}