Skip to content

Commit

Permalink
Removed ignore-engines and added node 14 to engine
Browse files Browse the repository at this point in the history
  • Loading branch information
paularintaharri committed Apr 19, 2024
1 parent bc84628 commit 772f3d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ selectNodeVersion
if [ -e "$DEPLOYMENT_TARGET/package.json" ]; then
cd "$DEPLOYMENT_TARGET"
echo "Running yarn install"
yarn install --ignore-engines
yarn install
exitWithMessageOnError "yarn failed"
cd - > /dev/null
fi
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Partio-ohjelmasovelluksen backend",
"main": "index.js",
"engines": {
"node": "18.x"
"node": "18.x || 14.x"
},
"scripts": {
"start": "node dist/index.js",
Expand Down

0 comments on commit 772f3d2

Please sign in to comment.