Skip to content

Merge pull request #965 from autonomys/chore/948-old-token-symbol-sti… #3936

Merge pull request #965 from autonomys/chore/948-old-token-symbol-sti…

Merge pull request #965 from autonomys/chore/948-old-token-symbol-sti… #3936

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: 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