Commit 4406c33c authored by William Naslund's avatar William Naslund

Fixed build job

parent f77967e5
......@@ -14,24 +14,15 @@ before_script:
# Build
Build Module:
TypeScript:
stage: build
image: node:11
script:
- tsc
- npm run build:module
- npm run build:tests
artifacts:
paths:
- dist/module
expire_in: 1 day
Build Tests:
stage: build
image: node:11
script:
- tsc -p tests/
artifacts:
paths:
- dist/module
- dist
expire_in: 1 day
......
......@@ -9,7 +9,9 @@
"test:one": "mocha --require module-alias/register $1",
"test:coverage": "nyc --reporter=html --reporter=text-summary mocha --require module-alias/register --recursive dist/tests",
"watch:module": "tsc -w --preserveWatchOutput",
"watch:tests": "tsc -p tests/ -w --preserveWatchOutput"
"watch:tests": "tsc -p tests/ -w --preserveWatchOutput",
"build:module": "tsc",
"build:tests": "tsc -p tests/"
},
"_moduleAliases": {
"@swirl/db": "./dist/module"
......
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