File tree Expand file tree Collapse file tree 7 files changed +9
-9
lines changed Expand file tree Collapse file tree 7 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -238,7 +238,7 @@ jobs:
238238 fail-fast : false
239239 matrix :
240240 include :
241- - os : ubuntu-20 .04
241+ - os : ubuntu-22 .04
242242 target : x86_64-unknown-linux-gnu
243243 platforms : linux/amd64,linux/arm64
244244 timeout-minutes : 30
Original file line number Diff line number Diff line change @@ -544,7 +544,7 @@ jobs:
544544 needs : [latest-tag-sha]
545545 if : (needs['latest-tag-sha'].outputs.sha != github.sha)
546546 name : Build & Test :dev for ${{ matrix.name }} without pushing
547- runs-on : ubuntu-20 .04
547+ runs-on : ubuntu-22 .04
548548 timeout-minutes : 60
549549 services :
550550 registry :
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ ENV PATH "$JAVA_HOME/bin:${PATH}"
1717
1818# We are copying root yarn.lock file to the context folder during the Publish GH
1919# action. So, a process will use the root lock file here.
20- RUN yarn install && yarn cache clean
20+ RUN yarn install --prod && yarn cache clean
2121
2222FROM node:16.19.1-alpine3.17
2323
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ RUN apk update \
1414
1515# We are copying root yarn.lock file to the context folder during the Publish GH
1616# action. So, a process will use the root lock file here.
17- RUN yarn install && yarn cache clean
17+ RUN yarn install --prod && yarn cache clean
1818
1919FROM node:16.19.1-alpine3.17
2020
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ RUN apt-get update \
1515
1616# We are copying root yarn.lock file to the context folder during the Publish GH
1717# action. So, a process will use the root lock file here.
18- RUN yarn install && yarn cache clean
18+ RUN yarn install --prod && yarn cache clean
1919
2020FROM node:16.19.1-bullseye-slim
2121
Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ WORKDIR /cube
44COPY . .
55
66RUN yarn policies set-version v1.22.19
7+ # Yarn v1 uses aggressive timeouts with summing time spending on fs, https://github.com/yarnpkg/yarn/issues/4890
8+ RUN yarn config set network-timeout 120000 -g
79
810# Required for node-oracledb to buld on ARM64
911RUN apt-get update \
@@ -12,9 +14,7 @@ RUN apt-get update \
1214
1315# We are copying root yarn.lock file to the context folder during the Publish GH
1416# action. So, a process will use the root lock file here.
15- RUN yarn install && yarn cache clean
16- # Yarn v1 uses aggressive timeouts with summing time spending on fs, https://github.com/yarnpkg/yarn/issues/4890
17- RUN yarn config set network-timeout 120000 -g
17+ RUN yarn install --prod && yarn cache clean
1818
1919FROM node:16.19.1-bullseye-slim
2020
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ RUN apt-get update \
3535
3636# We are copying root yarn.lock file to the context folder during the Publish GH
3737# action. So, a process will use the root lock file here.
38- RUN yarn install && yarn cache clean && yarn link:dev
38+ RUN yarn install --prod && yarn cache clean && yarn link:dev
3939
4040# By default Node dont search in parent directory from /cube/conf, @todo Reaserch a little bit more
4141ENV NODE_PATH /cube/conf/node_modules:/cube/node_modules
You can’t perform that action at this time.
0 commit comments