Skip to content

Don't fail on accessiblity checks #179

Don't fail on accessiblity checks

Don't fail on accessiblity checks #179

Workflow file for this run

name: build
on:
push:
branches: [ gh-pages ]
pull_request:
branches: [ gh-pages ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.1'
- name: Install dependencies
run: |
gem install bundler
bundle install --jobs 4 --retry 3
- name: Build Jekyll
run: bundle exec jekyll build
- name: Markdownlint
run: bundle exec mdl -s markdownlint-config.rb .
- name: HTMLProofer
run: bundle exec htmlproofer ./_site --disable-external --allow-hash-href --no-enforce-https
# Accessibility scan
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Scan for accessibility issues
uses: microsoft/accessibility-insights-action@v3
with:
static-site-dir: ${{ github.workspace }}/_site
scan-timeout: 600000
fail-on-accessibility-error: false
- name: Upload accessibility report
if: success() || failure()
uses: actions/upload-artifact@v3
with:
name: accessibility-reports
path: ${{ github.workspace }}/_accessibility-reports