Skip to content

[Snyk] Security upgrade wait-on from 6.0.0 to 7.2.0 #13

[Snyk] Security upgrade wait-on from 6.0.0 to 7.2.0

[Snyk] Security upgrade wait-on from 6.0.0 to 7.2.0 #13

Workflow file for this run

name: pa11y
on:
pull_request:
types: [opened, reopened, synchronize]
workflow_dispatch:
jobs:
pa11y:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14
uses: actions/setup-node@v1
with:
node-version: 14
- name: Checkout PR branch
uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
- name: Serve the site
run: |
npm i
npm run serve
- name: A11y test
run: |
npm run a11y
- name: Commit report
if: ${{ always() }}
run: |
git config user.name "Automated"
git config user.email "[email protected]"
git add .
timestamp=$(date -u)
git commit -m "Accessibility report: ${timestamp}" || exit 0
git push