Added CI check to catch build errors
This commit is contained in:
parent
083b7b8e2f
commit
84c4e5ebbb
|
@ -46,6 +46,7 @@ test_front:
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- yarn install
|
- yarn install
|
||||||
|
- yarn run build | tee /dev/stderr | (! grep -i 'ERROR in')
|
||||||
- yarn run unit
|
- yarn run unit
|
||||||
cache:
|
cache:
|
||||||
key: "$CI_PROJECT_ID__front_dependencies"
|
key: "$CI_PROJECT_ID__front_dependencies"
|
||||||
|
@ -70,7 +71,9 @@ build_front:
|
||||||
- yarn install
|
- yarn install
|
||||||
- yarn run i18n-extract
|
- yarn run i18n-extract
|
||||||
- yarn run i18n-compile
|
- yarn run i18n-compile
|
||||||
- yarn run build
|
# this is to ensure we don't have any errors in the output,
|
||||||
|
# cf https://code.eliotberriot.com/funkwhale/funkwhale/issues/169
|
||||||
|
- yarn run build | tee /dev/stderr | (! grep -i 'ERROR in')
|
||||||
cache:
|
cache:
|
||||||
key: "$CI_PROJECT_ID__front_dependencies"
|
key: "$CI_PROJECT_ID__front_dependencies"
|
||||||
paths:
|
paths:
|
||||||
|
|
Loading…
Reference in New Issue