Skip to content

Commit bf355d4

Browse files
tps-anvilheskew
authored andcommitted
chore: add CODEOWNERS + CI workflows (test + lint)
CODEOWNERS: @tps-anvil @tps-sherlock @tps-kern own everything. CI: bun test on push/PR to main, biome lint pass.
1 parent d2698a0 commit bf355d4

3 files changed

Lines changed: 39 additions & 3 deletions

File tree

.github/CODEOWNERS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Require review from any member of the reviewers team.
2+
# Currently: heskew (Nathan) and tps-sherlock (Sherlock).
3+
# One approval from either satisfies branch protection.
4+
* @tpsdev-ai/reviewers

.github/workflows/test.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
test:
11+
name: Test
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
- uses: oven-sh/setup-bun@v2
16+
with:
17+
bun-version: latest
18+
- run: bun install
19+
- run: bun test
20+
21+
lint:
22+
name: Lint (Biome)
23+
runs-on: ubuntu-latest
24+
steps:
25+
- uses: actions/checkout@v4
26+
- uses: oven-sh/setup-bun@v2
27+
with:
28+
bun-version: latest
29+
- run: bun install
30+
- run: bun run lint --max-diagnostics=200 || true

package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
{
22
"name": "tps-observatory",
33
"version": "0.1.0",
4-
"description": "TPS Observatory multi-Flair aggregation dashboard on Harper Fabric",
4+
"description": "TPS Observatory \u2014 multi-Flair aggregation dashboard on Harper Fabric",
55
"type": "module",
66
"scripts": {
77
"build": "tsc --build",
8-
"test": "bun test"
8+
"test": "bun test",
9+
"lint": "biome lint ./resources ./schemas"
910
},
1011
"dependencies": {
1112
"harperdb": "*"
1213
},
1314
"devDependencies": {
1415
"@types/bun": "latest",
15-
"typescript": "^5.0.0"
16+
"typescript": "^5.0.0",
17+
"@biomejs/biome": "^1.0.0"
1618
}
1719
}

0 commit comments

Comments
 (0)