bookwyrm/.github/workflows/accessibility.yml
Workflow config file is invalid. Please check your config file: yaml: line 16: found a tab character that violates indentation
2021-08-21 09:03:15 -07:00

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