Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 5 additions & 38 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: Quality Assurance
name: Tests
on:
workflow_call:
push:
pull_request:

jobs:
typecheck:
name: typecheck
test:
name: test
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -34,39 +34,6 @@ jobs:
- name: Install Dependencies
run: bun install --frozen-lockfile

- name: Run Type Checker
- name: Run Tests
run: |
bun run typecheck

lint:
name: lint
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22

- name: Setup Bun
uses: oven-sh/setup-bun@v2

- name: Cache Bun Dependencies
uses: actions/cache@v4
with:
path: ~/.bun/install/cache
key: ${{ runner.os }}-bun-${{ hashFiles('bun.lock') }}
restore-keys: |
${{ runner.os }}-bun-

- name: Install Dependencies
run: bun install --frozen-lockfile

- name: Run Linter
run: |
bun run lint
bun run test