Skip to content

Commit

Permalink
chore: use yarn in docker contrib
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando committed Nov 28, 2023
1 parent bcd24d0 commit cc9454b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile.contrib
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cc9454b

Please sign in to comment.