Skip to content

Commit 05590ef

Browse files
committed
Update branch
2 parents 09dbd5f + 3e8c0d7 commit 05590ef

15 files changed

Lines changed: 2661 additions & 51 deletions

File tree

.github/workflows/tests.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Run Tests
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
8+
jobs:
9+
test:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@v4
15+
16+
- name: Set up Bun
17+
uses: oven-sh/setup-bun@v2
18+
with:
19+
bun-version: '1.2.18' # or pin to whatever Bun version you need
20+
21+
- name: Cache Bun dependencies
22+
uses: actions/cache@v4
23+
with:
24+
path: |
25+
~/.bun
26+
node_modules
27+
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }}
28+
restore-keys: |
29+
${{ runner.os }}-bun-
30+
31+
- name: Install dependencies
32+
run: bun install
33+
34+
- name: Run tests
35+
run: bun jest
36+

apidoc.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"name": "COC API",
3+
"version": "1.0.0",
4+
"description": "REST API for Coding Club backend",
5+
"title": "Coding Club API Docs",
6+
"url": "http://localhost:3000/api/v1",
7+
"sampleUrl": false,
8+
"template": {
9+
"withCompare": true,
10+
"sort": true
11+
},
12+
"output": "docs/apidoc",
13+
"input": "src/routes",
14+
"includeFilters": ["\\.ts$"]
15+
}

bun.lock

Lines changed: 319 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)