Ensure only project file are tested.

This commit is contained in:
Quentin Decaunes 2019-06-03 14:15:22 +02:00
parent a7339ee096
commit 01b5fe420d

View File

@ -11,6 +11,7 @@ js_syntax:
tags: [ docker ] tags: [ docker ]
before_script: before_script:
- npm install -g acorn - npm install -g acorn
- rm -rf node_modules
script: script:
- find . -iname "*.js" -print0 | xargs -0 -I % sh -c 'echo "%"; acorn --ecma6 --silent "%"' - find . -iname "*.js" -print0 | xargs -0 -I % sh -c 'echo "%"; acorn --ecma6 --silent "%"'