Add Zenrock Gardia and Diamond #1889
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: Pull Request Validation | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
branches: [main] | |
jobs: | |
validation: | |
name: Pull Request Suggest Chain Validation | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup nodejs | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "18" | |
- run: npm install --global yarn | |
- run: yarn install --frozen-lockfile | |
- name: Get changed files | |
id: changed-files | |
uses: tj-actions/changed-files@v34 | |
with: | |
files: | | |
cosmos/** | |
evm/** | |
- name: Validate changed files | |
run: | | |
for file in ${{ steps.changed-files.outputs.all_changed_files }}; do | |
if [[ $file == *".json"* ]]; then | |
yarn ts-node src/index.ts $file | |
fi | |
done |