mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-07-12 11:12:29 +00:00
⚒️ Adds accessibility action (#253)
* 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>
This commit is contained in:
22
.github/workflows/a11y.yml
vendored
Normal file
22
.github/workflows/a11y.yml
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
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
|
Reference in New Issue
Block a user