From 45aa10e2972529184f9c19b863cbdd2d83db04fc Mon Sep 17 00:00:00 2001 From: Marielle Volz Date: Wed, 13 Mar 2024 20:33:42 +0000 Subject: [PATCH] Test against node 18 and node 20 (#165) --- .github/workflows/ci.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index edfc33b..1425f2c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,6 +5,10 @@ jobs: name: Test runs-on: ubuntu-latest timeout-minutes: 5 + strategy: + matrix: + node-version: [18, 20] + steps: - uses: actions/checkout@v2 @@ -13,10 +17,10 @@ jobs: - run: git submodule update --init --depth=1 modules/zotero-schema - run: git submodule update --init --depth=1 modules/translators - - name: Install Node + - name: Install Node ${{ matrix.node-version }} uses: actions/setup-node@v2 with: - node-version: 16 + node-version: ${{ matrix.node-version }} - run: npm ci - - run: npm test \ No newline at end of file + - run: npm test