Merge pull request #1127 from morpho-org/token-0x3fea1c-1776215271856 #2373
This file contains hidden or 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: Test Suite Validation | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| name: JSON Schema Validation | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20" | |
| cache: yarn | |
| - name: Install dependencies | |
| working-directory: ./test | |
| run: yarn --frozen-lockfile | |
| - name: Run validation tests | |
| working-directory: ./test | |
| run: yarn test | |
| chainalysis: | |
| name: Chainalysis Validation | |
| runs-on: ubuntu-latest | |
| if: github.event_name == 'push' && github.ref == 'refs/heads/main' | |
| environment: production | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20" | |
| cache: yarn | |
| - name: Install dependencies | |
| working-directory: ./test | |
| run: yarn --frozen-lockfile | |
| - name: Run Chainalysis tests | |
| working-directory: ./test | |
| env: | |
| CHAINALYSIS_API_TOKEN: ${{ secrets.CHAINALYSIS_API_TOKEN }} | |
| run: yarn test:chainalysis |