Skip to content

Commit

Permalink
build fix: Force npm installation until MUI updates their peer depend…
Browse files Browse the repository at this point in the history
…encies
  • Loading branch information
beverloo committed Oct 23, 2024
1 parent ccfda72 commit f25be25
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
cd ~/volunteer-manager-staging
git reset --hard
git pull --rebase
npm install
npm install --force
npm run-script test
npm run-script build-staging
docker system prune -f
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
cd ~/volunteer-manager
git reset --hard
git pull --rebase
npm install
npm install --force
npm run-script test
npm run-script build-prod
docker system prune -f
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ WORKDIR /app

# Install dependencies based on the preferred package manager
COPY .npmrc package.json package-lock.json* ./
RUN npm ci
RUN npm ci --force

# 2. Rebuild the source code only when needed
FROM base AS builder
Expand Down

0 comments on commit f25be25

Please sign in to comment.