feat: validation script to run when new tokens are pushed #43
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 New Token Configurations | |
on: | |
pull_request: | |
paths: | |
- "registry/mainnet/interchain/squid.tokenlist.json" | |
jobs: | |
validate-tokens: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup Bun | |
uses: oven-sh/setup-bun@v1 | |
with: | |
bun-version: latest | |
- name: Install dependencies | |
run: bun install | |
- name: Run validation | |
run: bun run scripts/run-validation.ts |