From a920ff22d5d086c51515e80c52adf7b5057304bd Mon Sep 17 00:00:00 2001 From: AyAyRon Date: Sun, 21 Jan 2024 14:24:46 -0600 Subject: [PATCH] Chore/npm 18 upgrade (#66) 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 --- .github/workflows/coverage.yml | 2 +- .pipelines/app/templates/npmInstall.yml | 2 +- package-lock.json | 4 ++-- package.json | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index a571e14f..9418b3f1 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: - node-version: [16.x] + node-version: [18.17.x] steps: - name: Checkout repository diff --git a/.pipelines/app/templates/npmInstall.yml b/.pipelines/app/templates/npmInstall.yml index 63ba852f..375cb700 100644 --- a/.pipelines/app/templates/npmInstall.yml +++ b/.pipelines/app/templates/npmInstall.yml @@ -1,7 +1,7 @@ steps: - task: NodeTool@0 inputs: - versionSpec: '16.19.x' + versionSpec: '18.17.x' - task: Cache@2 displayName: Cache npm diff --git a/package-lock.json b/package-lock.json index 066d8c6b..f6c3b916 100644 --- a/package-lock.json +++ b/package-lock.json @@ -67,8 +67,8 @@ "whatwg-fetch": "^3.6.20" }, "engines": { - "node": "=16", - "npm": "=8" + "node": "=18.17.x", + "npm": "=9" } }, "node_modules/@adobe/css-tools": { diff --git a/package.json b/package.json index 85254864..548c85d2 100644 --- a/package.json +++ b/package.json @@ -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",