Add option to yarn in CI to avoid network timeouts
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
e4a64e8ad6
commit
6d9fe639d6
@ -7,7 +7,8 @@ COPY js .
|
|||||||
|
|
||||||
ENV CYPRESS_INSTALL_BINARY 0
|
ENV CYPRESS_INSTALL_BINARY 0
|
||||||
|
|
||||||
RUN yarn install \
|
# Network timeout because it's slow when cross-compiling
|
||||||
|
RUN yarn install --network-timeout 100000 \
|
||||||
&& yarn run build
|
&& yarn run build
|
||||||
|
|
||||||
# Then, build the application binary
|
# Then, build the application binary
|
||||||
|
Loading…
Reference in New Issue
Block a user