From 0bfc49abc6f60d5b12fbc1ddc51c61bfbec56076 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guillaume=20Perr=C3=A9al?= <guillaume.perreal@irstea.fr> Date: Sun, 20 Oct 2019 16:00:02 +0200 Subject: [PATCH] =?UTF-8?q?Utilise=20le=20grunt=20fourni=20avec=20reveal.j?= =?UTF-8?q?s=20plut=C3=B4t=20que=20grunt-cli.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Evite une erreur si grunt-cli n'est pas installé. --- .gitlab-ci.yml | 1 - Gruntfile.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f6f7f85d..5dd069cc 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 bf0a1e4f..2d9fc50c 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 } -- GitLab