Skip to content

Merge branch 'main' into fix/modify-leaderboard-indexer-to-work-with-… #3838

Merge branch 'main' into fix/modify-leaderboard-indexer-to-work-with-…

Merge branch 'main' into fix/modify-leaderboard-indexer-to-work-with-… #3838

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
ts-lint-and-build-squid:
runs-on: ubuntu-latest
defaults:
run:
working-directory: indexers/squid-blockexplorer
name: Run eslint, check typescript and run tests
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "16"
- run: npm ci --legacy-peer-deps
- run: npm test
- run: npm run lint
- run: npm run build
ts-lint-and-build-explorer:
runs-on: ubuntu-latest
defaults:
run:
working-directory: explorer
name: Run eslint and code style check
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Run linter 🔍
run: |
yarn install
yarn lint:fix
- name: Build project 🔧
env:
NEXT_PUBLIC_GEMINI_3H_INDEXERS: ${{ secrets.NEXT_PUBLIC_GEMINI_3H_INDEXERS }}
run: yarn build
ts-lint-and-build-health-check:
runs-on: ubuntu-latest
defaults:
run:
working-directory: health-check
name: Run eslint, check typescript
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "16"
- run: npm ci
- run: npm run lint
- run: npm run build