[CI] Remove cd js and use --cwd instead
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
eef4ea178d
commit
9f27a941a2
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue