implement docker cache mount for yarn
This commit is contained in:
parent
89de1829c2
commit
a5b166f41d
|
@ -9,7 +9,7 @@ WORKDIR /data
|
|||
COPY ./package.json ./yarn.lock ./playwright.config.ts ./
|
||||
|
||||
# Increase timeout to pass github actions arm64 build
|
||||
RUN yarn install --network-timeout 10000000
|
||||
RUN --mount=type=cache,sharing=locked,target=/usr/local/share/.cache/yarn yarn install --network-timeout 10000000
|
||||
|
||||
RUN npx playwright install-deps && \
|
||||
apt-get clean && \
|
||||
|
|
Ŝarĝante…
Reference in New Issue