Skip to content

refactor: move to automated checks #229

refactor: move to automated checks

refactor: move to automated checks #229

Workflow file for this run

name: CI
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
- name: Install dependencies
run: bun install
- name: Build
run: bun run build
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
- name: Install dependencies
run: bun install
- name: Check linting and formatting
run: bun check
chain-list:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
- name: Install dependencies
run: bun install
- name: Generate list of chains for the UI
run: bun prepare-chain-data
# When this fails, run `bun prepare-chain-data` locally and commit the changes
- name: Ensure no diff
run: git diff --exit-code