Skip to content

Commit

Permalink
Added pnpm installs
Browse files Browse the repository at this point in the history
  • Loading branch information
dcblundell committed Feb 20, 2025
1 parent 86e753f commit 078294c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: v22.1.0
- run: npm install -g pnpm@latest-10
- run: pnpm install
- run: pnpm run build

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN apt-get update \
USER node
COPY --chown=node:node ./package.json package-lock.json index.html ./

RUN npm install
RUN npm install -g pnpm@latest-10

ARG NODE_ENV="production"
ENV NODE_ENV="${NODE_ENV}" \
Expand All @@ -30,7 +30,7 @@ COPY --chown=node:node . .
# https://vitejs.dev/guide/env-and-mode
COPY --chown=node:node ./.env* /app/

RUN npm run build
RUN pnpm run build

CMD ["bash"]

Expand Down

0 comments on commit 078294c

Please sign in to comment.