From 17bc127262d382c6ff23915de529a56876e564d7 Mon Sep 17 00:00:00 2001 From: Paula Rinta-Harri Date: Fri, 19 Apr 2024 13:36:40 +0300 Subject: [PATCH] Test adding yarn install --ignore-engines --- deploy.sh | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy.sh b/deploy.sh index d6a92d7..d1c0854 100644 --- a/deploy.sh +++ b/deploy.sh @@ -92,7 +92,7 @@ selectNodeVersion if [ -e "$DEPLOYMENT_TARGET/package.json" ]; then cd "$DEPLOYMENT_TARGET" echo "Running yarn install" - yarn install + yarn install --ignore-engines exitWithMessageOnError "yarn failed" cd - > /dev/null fi diff --git a/package.json b/package.json index 1b504f9..2c2107c 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "Partio-ohjelmasovelluksen backend", "main": "index.js", "engines": { - "node": "18.x || 14.x" + "node": "18.x" }, "scripts": { "start": "node dist/index.js",