Commit 215fadbc authored by Mike Greiling's avatar Mike Greiling

fix eslint builds within .gitlab-ci.yml

parent db6a29bc
...@@ -327,7 +327,7 @@ lint:javascript: ...@@ -327,7 +327,7 @@ lint:javascript:
paths: paths:
- node_modules/ - node_modules/
stage: test stage: test
image: "node:7.1" before_script: []
script: script:
- yarn run eslint - yarn run eslint
...@@ -337,7 +337,7 @@ lint:javascript:report: ...@@ -337,7 +337,7 @@ lint:javascript:report:
paths: paths:
- node_modules/ - node_modules/
stage: post-test stage: post-test
image: "node:7.1" before_script: []
script: script:
- find app/ spec/ -name '*.js' -or -name '*.js.es6' -exec sed --in-place 's|/\* eslint-disable .*\*/||' {} \; # run report over all files - find app/ spec/ -name '*.js' -or -name '*.js.es6' -exec sed --in-place 's|/\* eslint-disable .*\*/||' {} \; # run report over all files
- yarn run eslint-report || true # ignore exit code - yarn run eslint-report || true # ignore exit code
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment