Move to yarn

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2019-04-10 17:30:18 +02:00
parent da2a0593ca
commit 166979a297
9 changed files with 42 additions and 365 deletions

View File

@@ -35,7 +35,7 @@ setup_js_deps:
before_script:
- cd js
script:
- npm install
- yarn install
after_script:
- cd ../
cache:
@@ -46,9 +46,9 @@ js:
stage: front
before_script:
- cd js
- npm install
- yarn install
script:
- npm run build
- yarn run build
after_script:
- cd ../
cache:
@@ -65,10 +65,9 @@ js_deps:
stage: front
before_script:
- cd js
- npm install
- npm install -g npm-check-updates
- yarn install
script:
- ncu --error-level 2
- yarn outdated
after_script:
- cd ../
cache:
@@ -80,9 +79,9 @@ js_check:
stage: front
before_script:
- cd js
- npm install
- yarn install
script:
- npm run lint
- yarn run lint
after_script:
- cd ../
cache: