fix workflows #3881
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: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "16" | |
- run: yarn install | |
- run: yarn codegen | |
- 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: 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 |