From 03a7a35dfff34fb052d93c3c7f45ec34cdfc2b9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20=C5=A0vagr?= Date: Wed, 4 Dec 2024 12:18:21 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Add=20matrix=20to=20test=20run?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cd76c91..ebd34b6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,13 +5,16 @@ name: Test on: [push] jobs: + strategy: + matrix: + version: [ 18, 20, 22 ] run-eslint-and-prettier: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 20 + node-version: ${{ matrix.version }} registry-url: https://registry.npmjs.org/ - run: npm install - run: npm run build