Skip to content

Commit e82e136

Browse files
author
Jordan Dachroeden
committed
wip
1 parent 4cca0d0 commit e82e136

5 files changed

Lines changed: 38 additions & 21 deletions

File tree

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: accessibility-scan.yml
2+
on:
3+
workflow_dispatch:
4+
inputs:
5+
url:
6+
description: 'URL or path'
7+
required: true
8+
default: '.'
9+
report:
10+
description: 'Path to report.json'
11+
required: false
12+
default: 'report.json'
13+
14+
jobs:
15+
accessibility:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v4
19+
20+
- name: be-a11y Accessibility Checker
21+
id: a11ychecker
22+
uses: be-lenka/be-a11y@v2.2.8
23+
continue-on-error: true
24+
with:
25+
url: ${{ github.event.inputs.url }}
26+
report: ${{ github.event.inputs.report }}
27+
28+
- name: Upload accessibility report artifact
29+
if: steps.a11ychecker.outcome != 'success' && ${{ github.event.inputs.report != '' }}
30+
uses: actions/upload-artifact@v4
31+
with:
32+
name: accessibility-report
33+
path: ${{ github.event.inputs.report }}
34+
35+
- name: Output artifact ID
36+
run: echo 'Artifact ID is ${{ steps.artifact-upload-step.outputs.artifact-id }}'

.github/workflows/bearer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
timeout-minutes: 20
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v5
1717
- uses: reviewdog/action-setup@v1
1818
with:
1919
reviewdog_version: latest

.github/workflows/broken-link.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

.github/workflows/main.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ on:
1010
types: [opened, synchronize]
1111

1212
jobs:
13-
run-broken-link-scan:
14-
uses: ./.github/workflows/broken-link.yml
1513
run-unit-tests-and-coverage:
1614
name: Run Test Coverage
1715
uses: ./.github/workflows/run-unit-tests.yml

.github/workflows/run-branch-unit-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
steps:
99
- name: Checkout
1010
uses: actions/checkout@v5
11-
with:
11+
with:call:
1212
fetch-depth: 0
1313
ref: ${{ github.event.pull_request.head.sha }}
1414
- run: |

0 commit comments

Comments
 (0)