From 27664784773655b6c38036f3cb24c11b2b4e98d4 Mon Sep 17 00:00:00 2001 From: Romain Menke Date: Thu, 25 Apr 2024 19:23:02 +0200 Subject: [PATCH] node 22 --- .github/workflows/lint.yml | 2 +- .github/workflows/test.yml | 10 +++++----- .nvmrc | 2 +- package.json | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index c227eabbb..6f8dbd9d7 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -19,7 +19,7 @@ jobs: fetch-depth: 1 - uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22 - name: npm ci run: | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 15dc512f3..9b59f1281 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,20 +15,20 @@ jobs: runs-on: ${{ matrix.os }} strategy: fail-fast: false - # Test node 14/16/18/20 on ubuntu + # Test node 14/16/18/20/22 on ubuntu # Test node 20 on macos/windows # Enable annotations only for node 20 + ubuntu matrix: os: [ubuntu-latest] - node: [16, 18, 20] + node: [16, 18, 20, 22] include: - os: macos-latest - node: 20 + node: 22 - os: windows-latest - node: 20 + node: 22 - os: ubuntu-latest is_base_os_version: true - - node: 20 + - node: 22 is_base_node_version: true steps: - uses: actions/checkout@v4 diff --git a/.nvmrc b/.nvmrc index ee09fac75..33206cbae 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v20.11.1 +v22.0.0 diff --git a/package.json b/package.json index c9dc1394e..22cdc1635 100644 --- a/package.json +++ b/package.json @@ -56,6 +56,6 @@ "knip": "knip" }, "volta": { - "node": "20.11.1" + "node": "22.0.0" } }