From 3336b575252d953c4684bf2e513537c0bef53650 Mon Sep 17 00:00:00 2001 From: 11k <11k@users.noreply.github.com> Date: Wed, 6 Dec 2023 11:32:37 -0800 Subject: [PATCH] Update node version in workflows (#376) * Update GitHub workflows to use Node 20 * Update engines to Node 14 and up --- .github/workflows/bump-and-release.yml | 2 +- .github/workflows/formatting-and-lint.yml | 2 +- .github/workflows/test.yml | 2 +- package-lock.json | 4 ++-- package.json | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/bump-and-release.yml b/.github/workflows/bump-and-release.yml index 518b90df..9f63be08 100644 --- a/.github/workflows/bump-and-release.yml +++ b/.github/workflows/bump-and-release.yml @@ -21,7 +21,7 @@ jobs: - uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 20 registry-url: https://registry.npmjs.org - name: Bump version diff --git a/.github/workflows/formatting-and-lint.yml b/.github/workflows/formatting-and-lint.yml index 74d74840..7e33eef4 100644 --- a/.github/workflows/formatting-and-lint.yml +++ b/.github/workflows/formatting-and-lint.yml @@ -11,7 +11,7 @@ jobs: - uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 20 - name: Install Node.js dependencies run: npm ci diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2a4f82f2..6fe8968e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,7 +10,7 @@ jobs: - uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 20 - name: Install Node.js dependencies run: npm ci diff --git a/package-lock.json b/package-lock.json index 07f2cd1e..441451f6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -46,8 +46,8 @@ "webpack-dev-server": "^4.11.1" }, "engines": { - "node": ">=5.0.2", - "npm": ">=3.3.12" + "node": ">=14.21.3", + "npm": ">=6.14.18" }, "optionalDependencies": { "bufferutil": "^4.0.3", diff --git a/package.json b/package.json index 0bc84354..af03a621 100644 --- a/package.json +++ b/package.json @@ -70,8 +70,8 @@ "webpack-dev-server": "^4.11.1" }, "engines": { - "node": ">=5.0.2", - "npm": ">=3.3.12" + "node": ">=14.21.3", + "npm": ">=6.14.18" }, "optionalDependencies": { "bufferutil": "^4.0.3",