Skip to content

Bump path-to-regexp and express in /docs #1943

Bump path-to-regexp and express in /docs

Bump path-to-regexp and express in /docs #1943

Workflow file for this run

name: axe
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
axe:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v45
with:
files: |
docs/content/components/**/*.md
docs/content/utilities/**/*.md
files_ignore: |
docs/content/components/index.md
docs/content/utilities/index.md
- name: Save changed files
run: |
echo "STRING_OF_PATHS_WE_CARE_ABOUT=${{ steps.changed-files.outputs.all_changed_files }}" >> $GITHUB_ENV
- name: Use Node.js
if: steps.changed-files.outputs.any_changed == 'true'
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'npm'
- run: npm ci
if: steps.changed-files.outputs.any_changed == 'true'
- run: npm run dist
if: steps.changed-files.outputs.any_changed == 'true'
- name: Run docs site
if: steps.changed-files.outputs.any_changed == 'true'
run: |
npm run dev & npx wait-on http://localhost:8000
- name: Run axe script
if: steps.changed-files.outputs.any_changed == 'true'
run: |
script/axe-docs $STRING_OF_PATHS_WE_CARE_ABOUT