Skip to content

Commit 2b82987

Browse files
workflow for frontend tests added
1 parent a571d96 commit 2b82987

2 files changed

Lines changed: 30 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Basic CI
1+
name: Linter
22

33
on:
44
push:
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Frontend
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
frontend-tests:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout code
15+
uses: actions/checkout@v4
16+
17+
- name: Setup Node
18+
uses: actions/setup-node@v4
19+
with:
20+
node-version: 20
21+
22+
- name: Install deps
23+
run: npm ci
24+
working-directory: frontend
25+
26+
- name: Run frontend tests
27+
run: npm run test
28+
working-directory: frontend
29+

0 commit comments

Comments
 (0)