Skip to content

Setup CI

Setup CI #1

Workflow file for this run

name: CI
on:
push:
jobs:
CI:
runs-on: blacksmith-2vcpu-ubuntu-2204
steps:
- uses: actions/checkout@v3
- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- uses: useblacksmith/cache@v5
name: Setup bun cache
with:
path: ~/.bun/install/cache
key: ${{ runner.os }}-bun-store-v1-${{ hashFiles('**/bun.lockb') }}
restore-keys: |
${{ runner.os }}-bun-store-v1
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Run linter (Biome)
run: bun run lint
- name: Run type check
run: bun run typecheck
- name: Run tests
run: bun test