Skip to content

Commit b7936d2

Browse files
authored
fix(ci): Adjust npx package concurreny (UMAprotocol#4727)
Signed-off-by: Evaldo Felipe <[email protected]>
1 parent 5e7e07e commit b7936d2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,11 @@ WORKDIR /across-relayer
2828
# Clode the relayer code and copy it to the across-relayer directory. Remove the package directory.
2929
RUN git clone https://github.com/across-protocol/relayer-v2.git .
3030

31+
# This command fix a concurrency issue when the package was not found.
32+
RUN npx -y only-allow npm
33+
3134
# Install depdencies.
32-
RUN npx -y only-allow npm && yarn install --frozen-lockfile && yarn build
35+
RUN yarn install --frozen-lockfile && yarn build
3336

3437
# Set back the working directory to the protocol directory to default to that package.
3538
WORKDIR /protocol

0 commit comments

Comments
 (0)