Skip to content

Quickly generate a rule from the axe-core documentation (#50) #167

Quickly generate a rule from the axe-core documentation (#50)

Quickly generate a rule from the axe-core documentation (#50) #167

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
jobs:
test-node:
name: Run tests
runs-on: macos-latest
permissions:
pull-requests: write
contents: read
checks: write
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
- run: npm ci
- run: npx playwright install
- run: npm test
- name: Report code coverage
uses: koddsson/github-actions-report-lcov@main
with:
coverage-files: coverage/lcov.info
minimum-coverage: 90
artifact-name: code-coverage-report
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Publish Test Report
uses: mikepenz/action-junit-report@v4
if: success() || failure() # always run even if the previous step fails
with:
report_paths: './test-results.xml'