From 11bc195bb8fae3a57a5c51c7422ef9de4c8c6291 Mon Sep 17 00:00:00 2001 From: soulgalore Date: Wed, 25 Oct 2023 07:30:05 +0200 Subject: [PATCH] Use NodeJS 20 as default and drop 16 support --- .github/workflows/crux-test.yml | 2 +- .github/workflows/linux.yml | 2 +- .github/workflows/safari.yml | 2 +- .github/workflows/unittests.yml | 2 +- .github/workflows/windows.yml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/crux-test.yml b/.github/workflows/crux-test.yml index 7e64f637a2..70ca8b8ef0 100644 --- a/.github/workflows/crux-test.yml +++ b/.github/workflows/crux-test.yml @@ -14,7 +14,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v3 with: - node-version: '18.x' + node-version: '20.x' - name: Install sitespeed.io run: npm ci - name: Run tests with CruX diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 5005970287..726b98b233 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -14,7 +14,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v3 with: - node-version: '18.x' + node-version: '20.x' - name: Install sitespeed.io run: npm ci - name: Install Chrome diff --git a/.github/workflows/safari.yml b/.github/workflows/safari.yml index e799fd417d..5695596ca3 100644 --- a/.github/workflows/safari.yml +++ b/.github/workflows/safari.yml @@ -14,7 +14,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v3 with: - node-version: '18.x' + node-version: '20.x' - name: Install dependencies run: | sudo safaridriver --enable diff --git a/.github/workflows/unittests.yml b/.github/workflows/unittests.yml index 1cafc939a6..9b1024516b 100644 --- a/.github/workflows/unittests.yml +++ b/.github/workflows/unittests.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [16.x, 18.x, 20.x] + node-version: [18.x, 20.x, 22.x] steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index fcf992a5f7..3885e4a861 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -14,7 +14,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v3 with: - node-version: '18.x' + node-version: '20.x' - name: Install sitespeed.io run: npm ci env: