From 9aa22129f25dd7525f3e7b01edf01ee52ec6543c Mon Sep 17 00:00:00 2001 From: Jeff Dickey <216188+jdxcode@users.noreply.github.com> Date: Thu, 1 Feb 2018 03:09:10 -0800 Subject: [PATCH] fix: fix commitlint --- templates/scripts/test.ejs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/scripts/test.ejs b/templates/scripts/test.ejs index f71281d..f9610fc 100755 --- a/templates/scripts/test.ejs +++ b/templates/scripts/test.ejs @@ -23,7 +23,7 @@ if [[ "$CLI_ENGINE_GREENKEEPER_BRANCH" == 1 ]]; then greenkeeper-lockfile-upload fi -yarn add -D nyc @anycli/nyc-config mocha-junit-reporter<%- semantic_release ? " @commitlint/cli @commitlint/config-conventional" : "" %> +yarn add -D nyc@11 @anycli/nyc-config@0 mocha-junit-reporter@1<%- semantic_release ? " @commitlint/cli@6 @commitlint/config-conventional@6" : "" %> mkdir -p reports NYC=(yarn exec nyc --nycrc-path node_modules/@anycli/nyc-config/.nycrc) @@ -34,5 +34,5 @@ MOCHA_FILE=reports/mocha.xml "${NYC[@]}" yarn run test --reporter mocha-junit-re curl -s https://codecov.io/bash | bash <%_ if (semantic_release) { _%> -yarn exec commitlint --from origin/master +yarn exec commitlint -- -x @commitlint/config-conventional --from origin/master <%_ } _%>