From 5007c6818dd691c96c7f107a9a92d27cb4daac33 Mon Sep 17 00:00:00 2001 From: npty Date: Mon, 8 Jul 2024 20:42:08 +0700 Subject: [PATCH] chore: test multiple node versions --- .github/workflows/test-core.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-core.yml b/.github/workflows/test-core.yml index c466152..a4517b4 100644 --- a/.github/workflows/test-core.yml +++ b/.github/workflows/test-core.yml @@ -4,11 +4,14 @@ on: pull_request jobs: test-core: runs-on: ubuntu-latest + strategy: + matrix: + node-version: ["16.x", "18.x", "20.x"] steps: - name: Setup Node uses: actions/setup-node@v4 with: - node-version: 16 + node-version: ${{ matrix.node-version }} - name: Checkout code uses: actions/checkout@v4