add test and add test step to pipeline

This commit is contained in:
2023-12-04 22:27:01 +01:00
parent d039b549d1
commit 6793ecf3f6
7 changed files with 4551 additions and 25 deletions

6
Makefile Normal file
View File

@@ -0,0 +1,6 @@
build:
docker build -t sensor-web-v2 .
run: build
docker run --rm -d -p 8080:8080 sensor-web-v2
test: build
docker run --rm -d sensor-web-v2 npm run test:ci