[CI] Remove cd js and use --cwd instead

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-01-14 15:45:10 +01:00
parent eef4ea178d
commit 9f27a941a2
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -64,10 +64,9 @@ lint-front:
before_script: before_script:
- export EXITVALUE=0 - export EXITVALUE=0
- yarn --cwd "js" install --frozen-lockfile - yarn --cwd "js" install --frozen-lockfile
- cd js
script: script:
- yarn run lint || export EXITVALUE=1 - yarn --cwd "js" run lint || export EXITVALUE=1
- yarn run prettier -c . || export EXITVALUE=1 - yarn --cwd "js" run prettier -c . || export EXITVALUE=1
- exit $EXITVALUE - exit $EXITVALUE
build-frontend: build-frontend: