Skip to content
Merged
Show file tree
Hide file tree
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
68 changes: 68 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
name: CI

on:
pull_request:
push:
branches:
- main

concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true

jobs:
# format:
# name: Format
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
#
# - uses: oven-sh/setup-bun@v2
# with:
# bun-version: 1.3.11
#
# - run: bun install --frozen-lockfile
#
# - run: bun run format:check

lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: oven-sh/setup-bun@v2
with:
bun-version: 1.3.11

- run: bun install --frozen-lockfile

- run: bun run lint

typecheck:
name: Typecheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: oven-sh/setup-bun@v2
with:
bun-version: 1.3.11

- run: bun install --frozen-lockfile

- run: bun run typecheck

test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: oven-sh/setup-bun@v2
with:
bun-version: 1.3.11

- run: bun install --frozen-lockfile

- run: bun run test
4 changes: 4 additions & 0 deletions .oxfmtrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "./node_modules/oxfmt/configuration_schema.json",
"ignorePatterns": []
}
43 changes: 43 additions & 0 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@
"typecheck": "turbo run typecheck",
"lint": "oxlint -c .oxlintrc.jsonc . --deny-warnings",
"lint:fix": "oxlint -c .oxlintrc.jsonc --fix .",
"format": "oxfmt .",
"format:check": "oxfmt --check .",
"changeset": "changeset",
"changeset:version": "changeset version && bun install --lockfile-only",
"release:check": "bun run --cwd apps/cli typecheck && bun run test:release:bootstrap && bun run release:publish:dry-run",
Expand All @@ -88,6 +90,7 @@
"@effect/vitest": "catalog:",
"effect": "catalog:",
"knip": "^6.3.0",
"oxfmt": "^0.44.0",
"oxlint": "^1.56.0",
"turbo": "^2.5.6",
"typescript": "^5.9.3",
Expand Down
Loading