From 01abcb735837aa361a6a66b7b182ab5cc6ac77d2 Mon Sep 17 00:00:00 2001 From: andyrooger <420834+andyrooger@users.noreply.github.com> Date: Fri, 10 May 2024 22:23:23 +0100 Subject: [PATCH 1/3] fix(node): drop support for node 14 Node 14 has exceeded its maintenance period and is no longer available on the CI servers. BREAKING CHANGE: Node 14.x is no longer supported Use a supported version of node. Node 18.x or higher is supported currently. Node 16.x and above is allowed too until it fails CI, but is unsupported. --- .github/workflows/cicd.yml | 2 +- README.md | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 375348c..32e2728 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -9,7 +9,7 @@ jobs: test: strategy: matrix: - node: ['14.17', '16', '18', '20'] + node: ['16', '18', '20'] os: [ubuntu-latest, windows-latest, macos-latest] runs-on: ${{ matrix.os }} diff --git a/README.md b/README.md index b21b677..98fc7e3 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Many language service plugins work perfectly in VS Code, but using them in Visua ## Compatibility -* Node: >= 14.17 +* Node: >= 16 * TypeScript >= 2.9 ## Installation diff --git a/package.json b/package.json index c164ea6..44fa596 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "src" ], "engines": { - "node": ">=14.17" + "node": ">=16" }, "scripts": { "pretest": "cd test/fixtures/workspace && npm install --omit=dev --ignore-scripts && cd ../../..", From af2973f5f9402f36330e6ab02d26ff87a0fe7829 Mon Sep 17 00:00:00 2001 From: andyrooger <420834+andyrooger@users.noreply.github.com> Date: Fri, 10 May 2024 22:32:19 +0100 Subject: [PATCH 2/3] test(node): test against node 22 --- .github/workflows/cicd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 32e2728..63abb4b 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -9,7 +9,7 @@ jobs: test: strategy: matrix: - node: ['16', '18', '20'] + node: ['16', '18', '20', '22'] os: [ubuntu-latest, windows-latest, macos-latest] runs-on: ${{ matrix.os }} From 6be306b76766eee81b95fc6b026fabae58c7a255 Mon Sep 17 00:00:00 2001 From: andyrooger <420834+andyrooger@users.noreply.github.com> Date: Fri, 10 May 2024 22:34:08 +0100 Subject: [PATCH 3/3] ci(node): release via node 22 --- .github/workflows/cicd.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 63abb4b..0f17a41 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -34,10 +34,10 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Use Node.js 20 + - name: Use Node.js 22 uses: actions/setup-node@v3 with: - node-version: '20' + node-version: '22' cache: npm - run: npm ci - run: npm run semantic-release