From 9f931e9d1b10a8d09683e439779804840d157d24 Mon Sep 17 00:00:00 2001 From: AlexMachin1997 Date: Thu, 31 Oct 2024 21:20:48 +0000 Subject: [PATCH] chore: github action version updates --- .github/workflows/linting-action.yml | 7 +++++-- .github/workflows/test-action.yml | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/linting-action.yml b/.github/workflows/linting-action.yml index d3c2cd7..42c9e0e 100644 --- a/.github/workflows/linting-action.yml +++ b/.github/workflows/linting-action.yml @@ -7,11 +7,14 @@ jobs: name: Run linters runs-on: ubuntu-latest + # Run the job on Node 20 and 23 which better support modern testing frameworks strategy: matrix: - node-version: [18.x, 20.x] + node-version: [20.x, 21.x, 23.x] + # Steps involved for this particular task steps: + # Checks out the repository and enables the use of commands made available in the project ie npm run - name: Check out Git repository uses: actions/checkout@v2 @@ -44,4 +47,4 @@ jobs: run: yarn install - name: Run linters - run: yarn lint # assumes you have a `lint` script in package.json for ESLint and Prettier + run: yarn lint diff --git a/.github/workflows/test-action.yml b/.github/workflows/test-action.yml index 8b97808..e3b26d1 100644 --- a/.github/workflows/test-action.yml +++ b/.github/workflows/test-action.yml @@ -13,10 +13,10 @@ jobs: # Runs on a Linux based OS runs-on: ubuntu-latest - # Run the job on Node 18 and 20 which better support modern testing frameworks + # Run the job on Node 20 and 23 which better support modern testing frameworks strategy: matrix: - node-version: [18.x, 20.x] + node-version: [20.x, 21.x, 23.x] # Steps involved for this particular task steps: