Set canonical URL to corresponding proprietary docs at getambassador.io #739
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: "Quality Assurance" | |
on: [push] | |
jobs: | |
"Lint": | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-node@v4 | |
- uses: actions/checkout@v4 | |
- run: yarn install | |
- name: "yarn run gatsby build" | |
run: | | |
# The sed part of this command removes terminal escape codes. | |
NODE_ENV=development yarn run gatsby build | |
- name: "Dirty check" | |
run: | | |
git add . | |
if [[ -n "$(git status --porcelain)" ]]; then | |
PAGER= git diff --cached | |
exit 1 | |
fi | |
- name: yarn run eslint . | |
run: | | |
yarn run eslint . |& tee lint.log | |
! grep problem lint.log |