Patch 104 #1531
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
name: CI | |
on: pull_request | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- name: Check all template data was replaced | |
if: ${{ github.repository != 'teamdigitale/gatsby-site' }} | |
run: grep CHANGE[M]E -r . && (echo "Replace all occurrences with values relevant to this site"; exit 1) || exit 0 | |
- run: yarn install --frozen-lockfile | |
- run: yarn clean | |
- run: yarn build | |
- run: yarn pa11y | |
- run: yarn html-proofer | |
- run: yarn lint |