Skip to content

Commit

Permalink
Chore/npm 18 upgrade (#66)
Browse files Browse the repository at this point in the history
Will now use node 18.17.1 & npm 9

Unable to upgrade to node 20 & npm 10:
- Azure static sites offer support up to node 20/npm 10
- Azure functions offer support up to node 18/npm 9
  • Loading branch information
FreakinWard committed Jan 21, 2024
1 parent bf48e60 commit a920ff2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

strategy:
matrix:
node-version: [16.x]
node-version: [18.17.x]

steps:
- name: Checkout repository
Expand Down
2 changes: 1 addition & 1 deletion .pipelines/app/templates/npmInstall.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
steps:
- task: NodeTool@0
inputs:
versionSpec: '16.19.x'
versionSpec: '18.17.x'

- task: Cache@2
displayName: Cache npm
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"private": true,
"description": "This repo serves at a boilerplate to help stand up a new nextjs app",
"engines": {
"node": "=16",
"npm": "=8"
"node": "=18.17.x",
"npm": "=9"
},
"scripts": {
"prepare": "husky install",
Expand Down

0 comments on commit a920ff2

Please sign in to comment.