diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index fa32b1cb..e998a723 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -13,7 +13,7 @@ jobs: node-version: 22 cache: "npm" - name: Install dependencies & generate css types - run: npm ci --force + run: npm ci - name: Check types run: npm run type:check @@ -29,7 +29,7 @@ jobs: node-version: 22 cache: "npm" - name: Install dependencies - run: npm ci --force + run: npm ci - name: Run format:check run: | npm run format:version @@ -49,7 +49,7 @@ jobs: node-version: 22 cache: "npm" - name: Install dependencies - run: npm ci --force + run: npm ci - name: Pre-pull Postgres image run: docker pull postgres:15 - name: Run tests diff --git a/Dockerfile b/Dockerfile index c2682d86..01adaa7b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,7 +31,7 @@ COPY --chown=node:node package*.json ./ # We install Husky via a "prepare" lifecycle script - disable it in prod # See: https://typicode.github.io/husky/guide.html#disable-husky-in-ci-docker-prod RUN npm pkg delete scripts.prepare && npm pkg delete scripts.postinstall -RUN npm ci --force +RUN npm ci # Copy the project files into the app directory COPY --chown=node:node . $APP_HOME