Bump protobufjs from 6.11.3 to 6.11.4 #634
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: Schema Validation | |
on: | |
pull_request: | |
jobs: | |
validate-schema: | |
name: schema-validator | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: "npm" | |
- name: Install dependencies | |
run: npm ci | |
- name: Parse Markdown | |
run: npm run parse-markdown | |
- name: Verify Schema | |
run: npm run validation:aip-schema | |
- name: Verify uppercase | |
run: | | |
# rename everything to uppercase | |
cd content/aips | |
for i in *.md | |
do | |
mv "$i" "$(echo ${i%.md} | tr [:lower:] [:upper:]).md" || true | |
done | |
# ensure nothing changed | |
cd ../../ | |
if [[ -z $(git status -s content/aips) ]] | |
then | |
echo "tree is clean" | |
else | |
echo "your filename must be uppercase" | |
exit 1 | |
fi |