Skip to content

1.0.1

1.0.1 #14

Workflow file for this run

name: CI
on: [push]
jobs:
lint:
name: ⬣ ESLint
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v4
- name: ⎔ Setup node
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: 🧅 Setup bun
uses: oven-sh/setup-bun@v1
- name: 📥 Download deps
run: bun install
- name: 🔬 Lint
run: bun run lint
typecheck:
name: ʦ TypeScript
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v4
- name: ⎔ Setup node
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: 🧅 Setup bun
uses: oven-sh/setup-bun@v1
- name: 📥 Download deps
run: bun install
- name: 🔎 Type check
run: bun run typecheck
test:
name: ⚡ Vitest
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v4
- name: ⎔ Setup node
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: 🧅 Setup bun
uses: oven-sh/setup-bun@v1
- name: 📥 Download deps
run: bun install
- name: ⚡ Run test
run: bun run test -- --ci --coverage --maxWorkers=2
build:
name: 👷 Build
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v4
- name: ⎔ Setup node
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: 🧅 Setup bun
uses: oven-sh/setup-bun@v1
- name: 📥 Download deps
run: bun install
- name: 🏗️ Build
run: bun run build