diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f76c7b371460d57e699b28ae1118eb3bad813bc1..7f7f2ccaf8221d2516668e234129332f72b79971 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,7 +2,7 @@ stages: - test before_script: - - npm install --global gulp gulp-cli babel babel-cli babel-core babel-register mocha + - npm install --global gulp gulp-cli babel babel-cli babel-core babel-register mocha gulp-mocha gulp-eslint - npm install run_tests: @@ -12,3 +12,6 @@ run_tests: - gulp test tags: - node + cache: + paths: + - node_modules/ diff --git a/README.md b/README.md index 12530fa13c5edcffdd2b9e68892950e68b9ef71a..38e66ae5a87abc71c2e4e8711f4f06b42aa98f6d 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Previous versions of Node.js do not support ECMAScript6, it is recommended to us 4) Install babel and gulp globally -> npm install -g gulp gulp-cli babel babel-cli babel-core babel-register mocha +> npm install --global gulp gulp-cli babel babel-cli babel-core babel-register mocha gulp-mocha gulp-eslint 5) Install project dependencies