From d2fefefe3e3f6afc3ff4c7b28bf63c732ad00034 Mon Sep 17 00:00:00 2001 From: Jan Macku Date: Tue, 10 Oct 2023 08:57:23 +0200 Subject: [PATCH] ci: drop support for Node.js 16 and add Node.js 20 --- .github/workflows/check-dist.yml | 4 ++-- .github/workflows/lint.yml | 4 ++-- .github/workflows/unit-tests.yml | 4 ++-- action.yml | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/check-dist.yml b/.github/workflows/check-dist.yml index 02c924b..063bc52 100644 --- a/.github/workflows/check-dist.yml +++ b/.github/workflows/check-dist.yml @@ -28,10 +28,10 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Use Node.js 18 + - name: Use Node.js 20 uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 20 cache: yarn - name: Install dependencies diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 46109b1..a8674e4 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -20,10 +20,10 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Use Node.js 18.x + - name: Use Node.js 20.x uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 20 cache: yarn - name: Install diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 5445e17..891732a 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -19,7 +19,7 @@ jobs: strategy: matrix: - node-version: [ 16.x, 18.x ] + node-version: [ 18.x, 20.x ] steps: - uses: actions/checkout@v4 @@ -44,5 +44,5 @@ jobs: run: yarn test - name: Codecov - if: ${{ matrix.node-version == '18.x' }} + if: ${{ matrix.node-version == '20.x' }} uses: codecov/codecov-action@v3 diff --git a/action.yml b/action.yml index 534a2b0..7b437aa 100644 --- a/action.yml +++ b/action.yml @@ -34,5 +34,5 @@ inputs: description: GitHub token used to set issue labels runs: - using: node16 + using: node20 main: dist/index.js