From a576338716131abb11717051de67fc41c60c80ac Mon Sep 17 00:00:00 2001 From: Bilal Qamar <59555732+BilalQamar95@users.noreply.github.com> Date: Mon, 26 Aug 2024 15:37:27 +0500 Subject: [PATCH] test: Add Node 20 to CI matrix --- .github/workflows/ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1bf8507..6d516fd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,11 @@ on: jobs: tests: runs-on: ubuntu-22.04 + strategy: + matrix: + node: [18, 20] + continue-on-error: ${{ matrix.node == 20 }} + steps: - name: Checkout uses: actions/checkout@v4 @@ -16,7 +21,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version-file: '.nvmrc' + node-version: ${{ matrix.node }} - name: Install dependencies run: npm ci