Skip to content

feat: biome for linting and formatting #76

feat: biome for linting and formatting

feat: biome for linting and formatting #76

Workflow file for this run

name: CI
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Bun
uses: oven-sh/setup-bun@v1
- name: Check
run: |
bun install
bun run check
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Bun
uses: oven-sh/setup-bun@v1
- name: Build
run: |
bun install
bun run build
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Install Bun
uses: oven-sh/setup-bun@v1
- name: Start anvil node
run: anvil &
- name: Run tests
run: |
bun install
bun test
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Install Bun
uses: oven-sh/setup-bun@v1
- name: Start anvil node
run: anvil &
- name: Run test coverage
run: |
bun install
bun test --coverage