mirror of
https://github.com/Instadapp/chains.git
synced 2024-07-29 22:37:19 +00:00
24 lines
537 B
YAML
24 lines
537 B
YAML
|
name: Check JSON Schema
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
pull_request:
|
||
|
|
||
|
jobs:
|
||
|
validate_json:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- name: Check out repo
|
||
|
uses: actions/checkout@v2
|
||
|
- uses: actions/cache@v2
|
||
|
name: Configure npm caching
|
||
|
with:
|
||
|
path: ~/.npm
|
||
|
key: ${{ runner.os }}-npm-${{ hashFiles('**/workflows/validate_json.yml') }}
|
||
|
restore-keys: |
|
||
|
${{ runner.os }}-npm-
|
||
|
- name: Run JSON Validation
|
||
|
working-directory: ./tools
|
||
|
run: |-
|
||
|
npm install
|
||
|
node schemaCheck.js
|