From b17d18eac1a03a6cb0e72ed194a38e76961fbce8 Mon Sep 17 00:00:00 2001 From: Tim Deschryver <28659384+timdeschryver@users.noreply.github.com> Date: Fri, 22 Dec 2023 19:37:09 +0100 Subject: [PATCH] chore: update to Node.js 20 --- .devcontainer/devcontainer.json | 2 +- .github/workflows/ci.yml | 2 +- .node-version | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 51e4fa6f..db976dcf 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,7 +1,7 @@ // For format details, see https://aka.ms/devcontainer.json. { "name": "angular-testing-library", - "image": "mcr.microsoft.com/devcontainers/typescript-node:0-18-bullseye", + "image": "mcr.microsoft.com/devcontainers/typescript-node:0-20-bullseye", // Features to add to the dev container. More info: https://containers.dev/features. "features": { diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8c708307..1935b7d6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: strategy: matrix: - node-version: ${{ fromJSON((github.ref == 'refs/heads/main' || github.ref == 'refs/heads/beta') && '[16]' || '[16, 18]') }} + node-version: ${{ fromJSON((github.ref == 'refs/heads/main' || github.ref == 'refs/heads/beta') && '[20]' || '[16, 18, 20]') }} os: ${{ fromJSON((github.ref == 'refs/heads/main' || github.ref == 'refs/heads/beta') && '["ubuntu-latest"]' || '["ubuntu-latest", "windows-latest"]') }} runs-on: ${{ matrix.os }} diff --git a/.node-version b/.node-version index b6a7d89c..2edeafb0 100644 --- a/.node-version +++ b/.node-version @@ -1 +1 @@ -16 +20 \ No newline at end of file