From 74835031767357192900aa2665c8243917058e68 Mon Sep 17 00:00:00 2001 From: Tomasz Pluskiewicz Date: Fri, 29 Nov 2024 14:35:43 +0100 Subject: [PATCH] ci: use recent node versions --- .github/workflows/test.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b29cc6a..edd7a49 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,10 +5,15 @@ on: [push, pull_request] jobs: build: runs-on: ubuntu-latest + strategy: + matrix: + node-version: [18, 20, "lts/*"] steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} - run: npm ci - run: npm test - run: npm run lint