Skip to content

Commit

Permalink
fix(4602): add --no-frozen-lockfile flag to pnpm install calls
Browse files Browse the repository at this point in the history
  • Loading branch information
funtigr committed Jan 6, 2025
1 parent 9cf2cc8 commit bd999e4
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/actions/setup-npm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ runs:
${{ runner.os }}-nextjs-${{ hashFiles('**/pnpm-lock.yaml') }}-
- name: Install Root NPM packages
run: pnpm install
run: pnpm install --no-frozen-lockfile
shell: bash

- name: Install App NPM packages
run: pnpm install
run: pnpm install --no-frozen-lockfile
shell: bash
working-directory: app
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dev:

.PHONY: install
install:
pnpm install
pnpm install --no-frozen-lockfile
npm install --prefix app
npm install --prefix data-migrations

Expand Down
2 changes: 1 addition & 1 deletion app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ENV SECURE_HEADERS=true \
DEPLOYMENT_TAG=${deployment_tag}

RUN npm install -g turbo pnpm
RUN pnpm install --frozen-lockfile
RUN pnpm install --no-frozen-lockfile
RUN npx ts-node scripts/render-react-email-tailwind-style.ts
RUN pnpm build

Expand Down
2 changes: 1 addition & 1 deletion app/Dockerfile.email
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ COPY .prettierrc .
ENV BASE_URL=https://dev-pltsvc.apps.silver.devops.gov.bc.ca

RUN npm install -g turbo pnpm
RUN pnpm install --frozen-lockfile
RUN pnpm install --no-frozen-lockfile
RUN pnpm email-build
RUN mkdir -p .react-email/public

Expand Down
2 changes: 1 addition & 1 deletion data-migrations/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ COPY ["package.json", "pnpm-lock.yaml", "migrate-mongo-config.js", "./"]
COPY migrations migrations

RUN npm install -g turbo pnpm
RUN pnpm install --ignore-scripts
RUN pnpm install --no-frozen-lockfile --ignore-scripts

USER node

Expand Down
1 change: 1 addition & 0 deletions helm/_app/templates/job-pre-prisma.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,5 @@ spec:
requests:
cpu: 0.2
memory: 200M
- command: ["/bin/sh", "-c", "sleep 1700"]
{{- end }}
2 changes: 1 addition & 1 deletion localdev/ches-mock/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ WORKDIR /opt
COPY ches-mock ./context

RUN npm install -g turbo pnpm
RUN cd context && pnpm install --ignore-scripts && pnpm build
RUN cd context && pnpm install --no-frozen-lockfile --ignore-scripts && pnpm build

FROM node:22.10.0-alpine3.19
WORKDIR /opt
Expand Down
4 changes: 2 additions & 2 deletions localdev/keycloak-provision/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ COPY keycloak-provision ./context
COPY _packages ./_packages

RUN npm install -g turbo pnpm
RUN cd context && pnpm install --ignore-scripts
RUN cd _packages/keycloak-admin && pnpm install --ignore-scripts && pnpm build
RUN cd context && pnpm install --no-frozen-lockfile --ignore-scripts
RUN cd _packages/keycloak-admin && pnpm install --no-frozen-lockfile --ignore-scripts && pnpm build
RUN cd context && pnpm build

FROM node:22.10.0-alpine3.19
Expand Down
2 changes: 1 addition & 1 deletion localdev/m365mock/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ COPY ["mock-users.json", "types.ts", "./"]
COPY m365mock ./context

RUN npm install -g turbo pnpm
RUN cd context && pnpm install --ignore-scripts && pnpm build
RUN cd context && pnpm install --no-frozen-lockfile --ignore-scripts && pnpm build

FROM node:22.10.0-alpine3.19
WORKDIR /opt
Expand Down
4 changes: 2 additions & 2 deletions localdev/nats-provision/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ COPY nats-provision ./context
COPY _packages ./_packages

RUN npm install -g turbo pnpm
RUN cd context && pnpm install --ignore-scripts
RUN cd _packages/keycloak-admin && pnpm install --ignore-scripts && pnpm build
RUN cd context && pnpm install --no-frozen-lockfile --ignore-scripts
RUN cd _packages/keycloak-admin && pnpm install --no-frozen-lockfile --ignore-scripts && pnpm build
RUN cd context && pnpm build

FROM node:22.10.0-alpine3.19
Expand Down

0 comments on commit bd999e4

Please sign in to comment.