Skip to content

Merge pull request #1229 from autonomys/fix/bug-with-operators-state-… #5113

Merge pull request #1229 from autonomys/fix/bug-with-operators-state-…

Merge pull request #1229 from autonomys/fix/bug-with-operators-state-… #5113

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
codegen-and-build-indexers:
runs-on: ubuntu-latest
defaults:
run:
working-directory: indexers
name: Indexers - Run codegen and build
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Set up Node.js 📦
uses: actions/setup-node@v2
with:
node-version: "20"
- 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: Explorer - 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: "20"
- 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