Clean up a number of tips of day, add new ones #113
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: Validate JSONC | |
on: [push, pull_request] | |
jobs: | |
validate-jsonc: | |
runs-on: ubuntu-latest | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup Node.js | |
uses: actions/setup-node@v2 | |
- name: Install dependencies | |
run: npm install jsonc-parser ajv | |
- name: Validate JSONC files | |
run: | | |
for file in *.jsonc; do | |
echo "Validating $file" | |
node validate-jsonc.js $file | |
done |