updated link to olfactory bulb #56
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: Deploy to Github Pages | |
on: [push] | |
jobs: | |
check-format: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
- name: Run validation schema | |
run: npx ajv-cli validate -s usecases-info.schema.json -d usecases-info.json | |
- name: Run linting | |
run: | | |
npx js-beautify -f usecases-info.json -k -s 2 -b preserve-inline -n > usecases-info-formatted.json | |
cmp usecases-info.json usecases-info-formatted.json > diff.txt | |
if [ -s diff.txt ]; then | |
echo "Lintting failed. Run command on README.md to fix it and commit changes." | |
exit 1 | |
else | |
echo "Lintting OK" | |
fi |