-
Notifications
You must be signed in to change notification settings - Fork 46
39 lines (36 loc) · 1.03 KB
/
test-starter-pack.yml
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
36
37
38
39
# This workflow tests the starter pack.
# Don't run this workflow on any repos that use the starter pack.
name: Test starter pack
on:
- pull_request
- push
jobs:
test-docs:
name: Test on docs folder
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Build docs
run: make -C docs html
- name: Run inclusive language check
if: success() || failure()
run: make -C docs woke CONFIRM_SUDO=y
- name: Run link check
if: success() || failure()
run: make -C docs linkcheck
- name: Run spelling check
if: success() || failure()
run: make -C docs spelling CONFIRM_SUDO=y
- name: Run styleguide check (allowed to fail)
continue-on-error: true
run: make -C docs vale
- name: Run accessibility check (allowed to fail)
if: success() || failure()
continue-on-error: true
run: make -C docs pa11y
- name: Clean up
if: success() || failure()
run: make -C docs clean