[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:
|
||||
- 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:
|
||||
|
Loading…
Reference in New Issue
Block a user