Skip to content

Upgrade to pa11y@6.2.3, add publishing workflow #83

Upgrade to pa11y@6.2.3, add publishing workflow

Upgrade to pa11y@6.2.3, add publishing workflow #83

Workflow file for this run

on:
push:
branches:
- main
pull_request:
jobs:
checkout_and_test:
name: Lint and test on ${{ matrix.os }} with ${{ matrix.node-version }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
node-version: [12, 14, 16]
steps:
- name: Normalise line-ending handling in Git
shell: bash
run: |
git config --global core.autocrlf false
if: runner.os == 'Windows'
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run lint
- run: npm test