diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f6f7f85d2c2d3b8fda0bafb32a45d7b49ac9f97d..5dd069ccd9b26fdc518fc22fd287d03cea31eef9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,7 +9,6 @@ build: variables: NPM_CONFIG_CACHE: "$CI_PROJECT_DIR/.npm" script: - - npm install -g grunt-cli - npm install - npm run build artifacts: diff --git a/Gruntfile.js b/Gruntfile.js index bf0a1e4fa180502b755b782c461a4007da2c9224..2d9fc50c14d7a08fd19a617e652489b409d469b8 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -46,7 +46,7 @@ module.exports = grunt => { } }, buildRevealJs: { - command: "grunt css jshint", + command: "node_modules/.bin/grunt css jshint", options: { cwd: BUILD_DIR }