Skip to content

fix: stabilize consensus and make it provider-agnostic #280

fix: stabilize consensus and make it provider-agnostic

fix: stabilize consensus and make it provider-agnostic #280

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Install dependencies
run: npm ci
- name: Generate Prisma client
run: npx prisma generate
- name: Format check
run: npx prettier --check .
- name: Lint
run: npx eslint .
- name: Type check
run: npx tsc --noEmit
- name: Test
run: npm test
- name: Build
env:
DATABASE_URL: postgresql://fake:fake@localhost:5432/fake
run: npm run build