From 0cf5c8f2391073ad280de9b887b59e8f010728ef Mon Sep 17 00:00:00 2001 From: Adam Kudrna Date: Mon, 21 Oct 2024 14:32:39 +0200 Subject: [PATCH] Use Node 22 (upcoming LTS) for development Drop Node 18 for testing builds. --- .github/workflows/build.yml | 2 +- .github/workflows/lint.yml | 2 +- .github/workflows/release-management.yml | 6 +++--- .github/workflows/test.yml | 2 +- .nvmrc | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fb61994d..b375c109 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - node: [ 18, 20 ] + node: [ 20, 22 ] steps: - name: Clone repository uses: actions/checkout@v4 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index c255b873..672a5af7 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -13,7 +13,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22 cache: npm - name: Print Node.js and npm version diff --git a/.github/workflows/release-management.yml b/.github/workflows/release-management.yml index 6edea6ea..83e30481 100644 --- a/.github/workflows/release-management.yml +++ b/.github/workflows/release-management.yml @@ -18,7 +18,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22 cache: npm - name: Install @@ -94,7 +94,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22 cache: npm registry-url: https://registry.npmjs.org @@ -127,7 +127,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22 cache: npm - name: Install diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cdc9bbb9..082adc4c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,7 +16,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22 cache: npm - name: Print Node.js and npm version diff --git a/.nvmrc b/.nvmrc index 209e3ef4..2bd5a0a9 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -20 +22