강동현
Builds for 1 pipeline failed in 2 minutes 2 seconds

Pipeline 테스트

......@@ -26,3 +26,4 @@ yarn-error.log*
web/src/index.css
dist
.nyc_output
\ No newline at end of file
......
image: node:14-alpine
stages:
- build
- test
Build Server:
stage: build
before_script:
- cd server
- yarn install
script:
- yarn build
Test Server:
stage: test
script:
- yarn test
{
"dependencies": {
"@types/chai": "^4.2.18",
"@types/express": "^4.17.11",
"@types/mocha": "^8.2.2",
"@types/mocha-steps": "^1.3.0",
"@types/node": "^15.3.1",
"@types/socket.io": "^3.0.2",
"@types/socket.io-client": "^3.0.0",
"@types/uuid": "^8.3.0",
"chai": "^4.3.4",
"express": "^4.17.1",
"mocha": "^8.4.0",
"mocha-steps": "^1.3.0",
"nodemon": "^2.0.7",
"runtypes": "^6.3.0",
"socket.io": "^4.1.2",
......@@ -22,7 +16,14 @@
},
"scripts": {
"start": "nodemon index.ts",
"test": "mocha -r ts-node/register --require mocha-steps ./**/*.test.ts",
"test": "nyc mocha -r ts-node/register ./**/*.test.ts",
"build": "tsc -b -v"
},
"devDependencies": {
"@types/chai": "^4.2.18",
"@types/mocha": "^8.2.2",
"chai": "^4.3.4",
"mocha": "^8.4.0",
"nyc": "^15.1.0"
}
}
......
......@@ -68,5 +68,5 @@
"skipLibCheck": true /* Skip type checking of declaration files. */,
"forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */
},
"include": ["../common/**/*"]
"include": [".", "../common/**/*"]
}
......
This diff is collapsed. Click to expand it.