Commit b2f55744 authored by Max Hartmann's avatar Max Hartmann

pipeline

parent 20db1396
Pipeline #52187 passed with stage
in 1 minute
# Node docker image on which our code would run
image: node:10.5.0
#This command is run before all the jobs
before_script:
- npm install
stages:
- test
# lint and test are two different jobs in the same stage.
# This allows us to run these two in parallel and making build faster
# Job 1:
lint:
stage: test
script:
- npm run lint
# Job 2:
test:
stage: test
script:
- npm run test
......@@ -3,7 +3,8 @@
"scripts": {
"build": "webpack --production",
"dev": "tsc --watch | nodemon --inspect ./dist/app.js --watch dist",
"test": "mocha -r ts-node/register src/**/*.spec.ts"
"test": "mocha -r ts-node/register src/**/*.spec.ts",
"lint": "tslint **/*.ts"
},
"dependencies": {
"@tsed/common": "^5.1.1",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment