Skip to content

Pa11ly Accessibitly Check #11

Pa11ly Accessibitly Check

Pa11ly Accessibitly Check #11

Workflow file for this run

# Pa11y: A tool to check accessibility issue on a webpage
# The config file and sitemap file used by this workflow
# is in the ".github" directory of the repositiory
#
# This workflow is configured to run weekly on 13:13 every Friday
# It can also be run manually from repo's Gihthub page
#----------------------------------------------------------------
name: Pa11ly Accessibitly Check
on:
workflow_dispatch:
schedule:
- cron: '13 13 * * FRI'
jobs:
pa11ly:
name: Pa11ly Test
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Set up Node.js 22.x
uses: actions/setup-node@v4
with:
node-version: 22.x
- name: Install Pa11ly CI
run: npm install -g pa11y-ci
- name: Run Pa11ly CI
run: |
pa11y-ci \
--config ${GITHUB_WORKSPACE}/.github/pa11y.config \
--sitemap https://data.scilifelab.se/sitemap.xml \
--sitemap-exclude 'pdf$'