Enable and fix leaderboard in explorer #3943
Workflow file for this run
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: Build | |
on: [push, pull_request] | |
jobs: | |
codegen-and-build-indexers: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: indexers | |
name: Run codegen and build | |
steps: | |
- name: Checkout ποΈ | |
uses: actions/checkout@v3 | |
- name: Set up Node.js π¦ | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '18' | |
- name: Enable Corepack π¦ | |
run: corepack enable | |
- name: Install dependencies π¦ | |
run: yarn install | |
- name: Generate types and project manifest π | |
run: yarn codegen | |
- name: Build project π§ | |
run: yarn 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: Set up Node.js π¦ | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '18' | |
- name: Enable Corepack π¦ | |
run: corepack enable | |
- name: Install dependencies π¦ | |
run: yarn install | |
- name: Run linter π | |
run: 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: | |
- name: Checkout ποΈ | |
uses: actions/checkout@v3 | |
- name: Set up Node.js π¦ | |
uses: actions/setup-node@v2 | |
with: | |
node-version: "16" | |
- name: Install dependencies π¦ | |
run: npm ci | |
- name: Run linter π | |
run: npm run lint | |
- name: Build project π§ | |
run: npm run build |