Skip to content

Commit 2be1fdc

Browse files
committed
Add initial test for front-end
1 parent bfd8bf4 commit 2be1fdc

File tree

8 files changed

+1339
-69
lines changed

8 files changed

+1339
-69
lines changed

.github/workflows/front-end.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Front-end
2+
on:
3+
push:
4+
branches:
5+
- main
6+
paths:
7+
- front-end/**
8+
pull_request:
9+
branches:
10+
- main
11+
paths:
12+
- front-end/**
13+
14+
jobs:
15+
test:
16+
name: Test and build
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v2
20+
- uses: actions/setup-node@v2
21+
with:
22+
node-version: '20'
23+
- name: Install dependencies
24+
run: npm ci
25+
- name: Build production bundle
26+
run: |
27+
# npm run lint
28+
npm test -- --coverage
29+
npm run build

front-end/README.md

Lines changed: 0 additions & 47 deletions
This file was deleted.

0 commit comments

Comments
 (0)