mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-29 19:40:32 +00:00
27 lines
644 B
YAML
27 lines
644 B
YAML
name: Accessibility Validation
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
pull_request:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Scan for accessibility issues
|
|
uses: microsoft/accessibility-insights-action@v2
|
|
with:
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
site-dir: ${{ github.workspace }}/bookwyrm/templates
|
|
scan-url-relative-path: / # use // if windows agen
|
|
|
|
- name: Upload report artifact
|
|
uses: actions/upload-artifact@v2
|
|
with:
|
|
name: accessibility-reports
|
|
path: ${{ github.workspace }}/_accessibility-reports
|