Skip to content

Commit

Permalink
update node to v18
Browse files Browse the repository at this point in the history
  • Loading branch information
Linnea Myllynen committed Aug 25, 2023
1 parent b4d5a43 commit 0de2ade
Show file tree
Hide file tree
Showing 5 changed files with 1,354 additions and 1,084 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/branches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- master

env:
NODE_VERSION: '14.x' # set this to the node version to use
NODE_VERSION: '18.x' # set this to the node version to use

jobs:
build-and-deploy:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
env:
AZURE_WEBAPP_NAME: pos-backend-staging # set this to your application's name
AZURE_WEBAPP_PACKAGE_PATH: 'dist' # set this to the path to your web app project, defaults to the repository root
NODE_VERSION: '14.x' # set this to the node version to use
NODE_VERSION: '18.x' # set this to the node version to use

jobs:
build-and-deploy:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
env:
AZURE_WEBAPP_NAME: pos-backend-production # set this to your application's name
AZURE_WEBAPP_PACKAGE_PATH: 'dist' # set this to the path to your web app project, defaults to the repository root
NODE_VERSION: '14.x' # set this to the node version to use
NODE_VERSION: '18.x' # set this to the node version to use

jobs:
build-and-deploy:
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": "14.x"
"node": "18.x"
},
"scripts": {
"start": "node dist/index.js",
Expand Down
Loading

0 comments on commit 0de2ade

Please sign in to comment.