[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:
- export EXITVALUE=0
- yarn --cwd "js" install --frozen-lockfile
- cd js
script:
- yarn run lint || export EXITVALUE=1
- yarn run prettier -c . || export EXITVALUE=1
- yarn --cwd "js" run lint || export EXITVALUE=1
- yarn --cwd "js" run prettier -c . || export EXITVALUE=1
- exit $EXITVALUE
build-frontend: