Skip to content

Commit 9992921

Browse files
authored
Add initial tests for front-end (#50)
1 parent bfd8bf4 commit 9992921

File tree

8 files changed

+2005
-132
lines changed

8 files changed

+2005
-132
lines changed

.github/workflows/front-end.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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: |
25+
cd front-end
26+
npm ci
27+
- name: Build production bundle
28+
run: |
29+
cd front-end
30+
# npm run lint
31+
npm test -- --coverage
32+
npm run build

front-end/README.md

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

0 commit comments

Comments
 (0)