Skip to content

Commit ed34016

Browse files
author
Tom Pearson
committed
add github workflow
1 parent c0735a3 commit ed34016

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

.github/workflows/pa11y.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: pa11y
2+
on:
3+
pull_request:
4+
types: [opened, reopened, synchronize]
5+
workflow_dispatch:
6+
7+
jobs:
8+
pa11y:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- name: Use Node.js 14
13+
uses: actions/setup-node@v1
14+
with:
15+
node-version: 14
16+
- name: Run pa11y
17+
run: |
18+
npm i
19+
npm test

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
This repo exist to demonstrate an approach to accesibility testing using Github actions and [Pa11y]()
22

3-
HTML based on [HTML 5 boilerplate h5bp](https://html5boilerplate.com/)`
3+
HTML based on [HTML 5 boilerplate h5bp](https://html5boilerplate.com/)`
4+
5+
`npm run test`

0 commit comments

Comments
 (0)