aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTHarley2018-02-14 13:58:35 +0000
committerTHarley2018-02-14 13:58:35 +0000
commitd8a14e30a085efd47e1cec0472909c90cf0a6fb0 (patch)
tree318483b8b380383ad9ddec6d606544375d3f6a8b
parentMerge branch 'trh/yarn' into 'master' (diff)
parentEdit .gitlab-ci.yml to Use Yarn. (diff)
downloadmedicine-d8a14e30a085efd47e1cec0472909c90cf0a6fb0.tar.gz
medicine-d8a14e30a085efd47e1cec0472909c90cf0a6fb0.zip

Merge branch ‘trh/yarn’ into ‘master’

Edit .gitlab-ci.yml to Use Yarn.

See merge request cs3099group-be-4/project-code!12

-rw-r--r--.gitlab-ci.yml7
1 files changed, 4 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 58a14ef..0bf7cd5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -11,14 +11,15 @@ stages:
install:
stage: build
script:
- - npm install
+ - npm install --global yarn
+ - yarn
mocha:
stage: test
script:
- - npm test
+ - yarn test
lint:
stage: test
script:
- - npm run _gl-lint
+ - yarn run _gl-lint