Skip to content

Commit 0698b6f

Browse files
committed
fx: polish fe, test cases
1 parent 16f6d9b commit 0698b6f

21 files changed

+13427
-7325
lines changed

.github/workflows/be-tests.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Backend Tests
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- 'backend/**'
9+
- 'package.json'
10+
pull_request:
11+
branches:
12+
- main
13+
paths:
14+
- 'backend/**'
15+
- 'package.json'
16+
17+
jobs:
18+
test:
19+
runs-on: ubuntu-latest
20+
21+
22+
steps:
23+
- name: Checkout repository
24+
uses: actions/checkout@v4
25+
26+
- name: Set up Node.js
27+
uses: actions/setup-node@v4
28+
with:
29+
node-version: '20'
30+
31+
- name: Install dependencies (Root and Workspaces)
32+
run: npm install
33+
34+
- name: 🧪 Run Backend Tests
35+
36+
run: npm run test:be

.github/workflows/fe-tests.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: FE Tests
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- 'frontend/**'
9+
- 'package.json'
10+
pull_request:
11+
branches:
12+
- main
13+
paths:
14+
- 'frontend/**'
15+
- 'package.json'
16+
17+
jobs:
18+
test:
19+
runs-on: ubuntu-latest
20+
21+
steps:
22+
- name: Checkout repository
23+
uses: actions/checkout@v4
24+
25+
- name: Set up Node.js
26+
uses: actions/setup-node@v4
27+
with:
28+
node-version: '20'
29+
30+
- name: Install dependencies (Root and Workspaces)
31+
run: npm install
32+
33+
- name: Run Frontend Tests
34+
run: npm run test:fe

0 commit comments

Comments
 (0)