Bump @primer/stylelint-config from 13.0.0-rc.fd47ce2 to 13.0.0-rc.3392714 in the all group #1803
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@v44 | |
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 |