From e0b039a45704a8361dc93e3cd9ee0b3821f51297 Mon Sep 17 00:00:00 2001 From: Roel van Hintum Date: Thu, 18 Jul 2024 16:29:56 +0200 Subject: [PATCH] Revert "update npm install and build to current versions" This reverts commit bcca9e13092945ef052f3d527996477dc6150247. --- .github/workflows/deploy-to-do.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-to-do.yml b/.github/workflows/deploy-to-do.yml index 7cefab4..1b62d98 100644 --- a/.github/workflows/deploy-to-do.yml +++ b/.github/workflows/deploy-to-do.yml @@ -41,9 +41,9 @@ jobs: cache: "npm" cache-dependency-path: "./app/package-lock.json" - run: | - npm install --production=false - npm run build - npm ci + npm ci --include=dev --prefix ./app + npm run build --prefix ./app + npm prune --omit=dev --prefix ./app - run: | docker build -t $IMAGE ./app docker push $IMAGE