ci: add ci workflow to run tests and linting

This commit is contained in:
Julian Tölle 2021-06-20 01:23:48 +02:00
parent 7546c38bef
commit 5096b0910d
2 changed files with 68 additions and 0 deletions

View file

@ -16,6 +16,8 @@
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"lint": "eslint --ext .js,.jsx,.ts,.tsx src/ frontend/src/",
"lint:api": "eslint --ext .js,.ts src/ test/",
"lint:frontend": "eslint --ext .js,.jsx,.ts,.tsx frontend/src/",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",