ensure chain_name matches folder #1726
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
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
workflow_dispatch: | |
name: Validate ✅ | |
jobs: | |
validate-schema: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository 📥 | |
uses: actions/checkout@v4 | |
- name: Setup Node.js 🌐 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20.x' | |
- name: Install @chain-registry/cli 📜 | |
run: | | |
npm install -g @chain-registry/[email protected] | |
- name: Validate ✓ | |
run: | | |
chain-registry validate --registryDir . --logLevel error |