Skip to content

Babylon testnet 3 metadata #28

Babylon testnet 3 metadata

Babylon testnet 3 metadata #28

on: [pull_request, workflow_dispatch]
name: PR workflow
jobs:
validate_chainjson:
name: Validate edited chains.json
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install JSON-Schema-Validator
run: npm install -g jsonschema
- name: Validate Chain.json schema
run: |
for file in $(find . -name 'chain.json' | grep -v '_template/'); do
if ! jsonschema -i "$file" ./chain.schema.json; then
exit 1
fi
done