From eb039cf1e276595b85bb9b317d72934a31e39d0d Mon Sep 17 00:00:00 2001 From: Michael Meyers Date: Thu, 9 May 2024 14:29:48 -0400 Subject: [PATCH 1/3] BWDB-17557 Upgrade node version --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 5201c37..7d2cbf4 100644 --- a/action.yml +++ b/action.yml @@ -17,5 +17,5 @@ inputs: description: 'Specify the behavior of getting the variable. first_match, overwrite and fill are valid values.' default: 'first_match' runs: - using: 'node16' + using: 'node20' main: 'dist/index.js' From 9fa7f1da1a619f4d762a8c9a119850ee2c28af11 Mon Sep 17 00:00:00 2001 From: Ardi Goxhaj Date: Thu, 12 Mar 2026 12:29:50 +0100 Subject: [PATCH 2/3] BWDB-24284: update node version --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 7d2cbf4..7097e41 100644 --- a/action.yml +++ b/action.yml @@ -17,5 +17,5 @@ inputs: description: 'Specify the behavior of getting the variable. first_match, overwrite and fill are valid values.' default: 'first_match' runs: - using: 'node20' + using: node22 main: 'dist/index.js' From 03c76b618c985949e7727b8fdf651feca9abf047 Mon Sep 17 00:00:00 2001 From: Ardi Goxhaj Date: Mon, 16 Mar 2026 17:51:24 +0100 Subject: [PATCH 3/3] BWDB-24284: upgrade node version from 16 -> 22 --- .devcontainer/Dockerfile | 4 ++-- .devcontainer/base.Dockerfile | 4 ++-- .devcontainer/devcontainer.json | 6 +++--- .github/workflows/unit-test.yml | 3 +++ action.yml | 2 +- package.json | 2 +- 6 files changed, 12 insertions(+), 9 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index d59927b..48847eb 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,5 +1,5 @@ -# [Choice] Node.js version (use -bullseye variants on local arm64/Apple Silicon): 18, 16, 14, 18-bullseye, 16-bullseye, 14-bullseye, 18-buster, 16-buster, 14-buster -ARG VARIANT=16-bullseye +# [Choice] Node.js version (use -bullseye variants on local arm64/Apple Silicon): 22, 20, 18, 22-bullseye, 20-bullseye, 18-bullseye +ARG VARIANT=22-bullseye FROM mcr.microsoft.com/vscode/devcontainers/typescript-node:0-${VARIANT} # [Optional] Uncomment this section to install additional OS packages. diff --git a/.devcontainer/base.Dockerfile b/.devcontainer/base.Dockerfile index 35b6654..2b9ce16 100644 --- a/.devcontainer/base.Dockerfile +++ b/.devcontainer/base.Dockerfile @@ -1,5 +1,5 @@ -# [Choice] Node.js version (use -bullseye variants on local arm64/Apple Silicon): 18, 16, 14, 18-bullseye, 16-bullseye, 14-bullseye, 18-buster, 16-buster, 14-buster -ARG VARIANT=16-bullseye +# [Choice] Node.js version (use -bullseye variants on local arm64/Apple Silicon): 22, 20, 18, 22-bullseye, 20-bullseye, 18-bullseye +ARG VARIANT=22-bullseye FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:0-${VARIANT} # Install tslint, typescript. eslint is installed by javascript image diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 4978099..22a2b5c 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -4,11 +4,11 @@ "name": "Node.js & TypeScript", "build": { "dockerfile": "Dockerfile", - // Update 'VARIANT' to pick a Node version: 18, 16, 14. - // Append -bullseye or -buster to pin to an OS version. + // Update 'VARIANT' to pick a Node version: 22, 20, 18. + // Append -bullseye to pin to an OS version. // Use -bullseye variants on local on arm64/Apple Silicon. "args": { - "VARIANT": "16-bullseye" + "VARIANT": "22-bullseye" } }, diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 797816c..ffee90f 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -10,6 +10,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + - uses: actions/setup-node@v4 + with: + node-version: '22' - run: | npm install npm run all diff --git a/action.yml b/action.yml index 7097e41..7702af3 100644 --- a/action.yml +++ b/action.yml @@ -17,5 +17,5 @@ inputs: description: 'Specify the behavior of getting the variable. first_match, overwrite and fill are valid values.' default: 'first_match' runs: - using: node22 + using: 'node22' main: 'dist/index.js' diff --git a/package.json b/package.json index 81feb46..6ee8a90 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ }, "devDependencies": { "@types/jest": "^29.2.0", - "@types/node": "^18.11.3", + "@types/node": "^22.0.0", "@typescript-eslint/parser": "^5.40.1", "@vercel/ncc": "^0.34.0", "eslint": "^8.26.0",