From 298db998f1658dd01c3e8b083c71d0b57b3de8e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimir=20Vrzi=C4=87?= Date: Mon, 6 May 2024 12:37:18 +0200 Subject: [PATCH] Updated GitHub Actions workflow (#40) - Added Node.js 22 to test matrix - Upgraded to actions checkout@v4 and setup-node@v4 - Dropped EOL Node versions from automatic testing on macos-latest --- .github/workflows/build.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 72b1409..ca009d4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,8 +8,15 @@ jobs: strategy: matrix: - virtual-environment: ['ubuntu-latest', 'macos-latest', 'windows-2019'] - node: [12, 14, 16, 18, 20, 21] + virtual-environment: ['ubuntu-latest', 'windows-2019'] + node: [12, 14, 16, 18, 20, 22] + include: + - virtual-environment: 'macos-latest' + node: 18 + - virtual-environment: 'macos-latest' + node: 20 + - virtual-environment: 'macos-latest' + node: 22 runs-on: ${{ matrix.virtual-environment }} @@ -19,10 +26,10 @@ jobs: run: git config --global core.autocrlf false - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Node.js ${{ matrix.node }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }}