mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-01-22 17:30:00 +00:00
9e7aa0346b
* Add lighthouse run * Add lighthouse run * Update lighthouse configuration * Remove extra lighthouse files * Update lighthouserc.js * Update lighthouserc.js * Update lighthouserc.js Co-authored-by: Tatiana Mac <github@tatianamac.com>
23 lines
475 B
YAML
23 lines
475 B
YAML
name: Accessibility Audit
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
lhci:
|
|
name: Lighthouse
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Use Node.js 10.x
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: 10.x
|
|
- name: npm install, build
|
|
run: |
|
|
npm install
|
|
npm run build
|
|
- name: run Lighthouse CI
|
|
run: |
|
|
npm install -g @lhci/cli@0.4.x
|
|
lhci autorun
|