Bump cross-spawn from 7.0.3 to 7.0.6 in the npm_and_yarn group #778
Workflow file for this run
This file contains 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
# This workflow will do a clean install of node dependencies, build the source code and run tests. | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | |
name: Run Tests | |
on: | |
push: | |
branches: # Run actions when code is committed to these branches | |
- main | |
pull_request: | |
branches: # Run actions when a PR is pushed based on one of these branches | |
- main | |
- staging | |
jobs: | |
setup: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code from ${{ github.repository }} | |
uses: actions/checkout@v3 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
cache: npm | |
- name: Install dependencies | |
run: npm ci | |
accessibility_scan: | |
runs-on: ubuntu-latest | |
needs: setup | |
steps: | |
- name: Checkout code from ${{ github.repository }} | |
uses: actions/checkout@v3 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
cache: npm | |
- name: Install dependencies | |
run: npm ci | |
- name: Run pa11y | |
run: npm run pa11y-ci:gh | |
link_checker: | |
runs-on: ubuntu-latest | |
needs: setup | |
steps: | |
- name: Checkout code from ${{ github.repository }} | |
uses: actions/checkout@v3 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
cache: npm | |
- name: Install dependencies | |
run: npm ci | |
- name: Run broken link checker | |
run: npm run link-checker:pipeline | |
linter: | |
runs-on: ubuntu-latest | |
needs: setup | |
steps: | |
- name: Checkout code from ${{ github.repository }} | |
uses: actions/checkout@v3 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
cache: npm | |
- name: Install dependencies | |
run: npm ci | |
- name: Run linter | |
run: npm run lint |