From cc9454ba1cdb23f0f4529839bbf384c54ff635ed Mon Sep 17 00:00:00 2001 From: Daniel Lando Date: Tue, 28 Nov 2023 11:00:38 +0100 Subject: [PATCH] chore: use yarn in docker contrib --- docker/Dockerfile.contrib | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile.contrib b/docker/Dockerfile.contrib index 5034a1980f..91697c1277 100644 --- a/docker/Dockerfile.contrib +++ b/docker/Dockerfile.contrib @@ -36,8 +36,8 @@ USER root USER node WORKDIR /home/node/node-zwave-js -RUN npm ci -RUN npm run build +RUN yarn install --immutable +RUN yarn build # Update the version info to match the branch built RUN yarn workspaces foreach version $(echo $(yarn node -p 'require("semver").inc(require("zwave-js/package.json").version, "prerelease")+".dev"')-$(git rev-parse --short HEAD)) --deferred && yarn version apply --all