Skip to content

Commit

Permalink
fixup! build: upgrade to Yarn 4
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed Nov 7, 2023
1 parent 3cc0cb1 commit dd915ab
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions makeDockerfile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ COPY --link --chmod=755 ./proposals/${proposalIdentifier}:${proposalName} /usr/s
# install using global cache
RUN --mount=type=cache,target=/root/.yarn \
cd /usr/src/upgrade-test-scripts/lib/ \
&& corepack enable \
&& yarn --version \
&& yarn install \
&& cd /usr/src/proposals/${proposalIdentifier}:${proposalName} \
&& test -n "yarn.lock" && yarn install --frozen-lockfile --production
Expand Down Expand Up @@ -126,6 +128,8 @@ COPY --link ./upgrade-test-scripts/lib /usr/src/upgrade-test-scripts/lib
# install using global cache
RUN --mount=type=cache,target=/root/.yarn \
cd /usr/src/upgrade-test-scripts/lib/ \
&& corepack enable \
&& yarn --version \
&& yarn install \
&& cd /usr/src/proposals/${proposalIdentifier}:${proposalName} \
&& test -n "yarn.lock" && yarn install --frozen-lockfile --production
Expand All @@ -152,6 +156,8 @@ FROM use-${proposalName} as test-${proposalName}
# install using global cache
RUN --mount=type=cache,target=/root/.yarn \
cd /usr/src/upgrade-test-scripts/lib/ \
&& corepack enable \
&& yarn --version \
&& yarn install \
&& cd /usr/src/proposals/${proposalIdentifier}:${proposalName} \
&& test -n "yarn.lock" && yarn install --frozen-lockfile --production
Expand Down

0 comments on commit dd915ab

Please sign in to comment.