From 2ba2386a60020d43c6d4b46a0156e12b70c507cd Mon Sep 17 00:00:00 2001 From: Marielle Volz Date: Thu, 7 Mar 2024 10:25:54 +0000 Subject: [PATCH 1/3] Update ci to test with both 16 and 18 Update ci to test on node 18 in addition to 16. --- .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..9f3a917 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: [16, 18] + 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: Use Node.js ${{ 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 From a7eeaf851d714adbbfa764943e2e8973d97405d3 Mon Sep 17 00:00:00 2001 From: Marielle Volz Date: Thu, 7 Mar 2024 12:57:17 +0000 Subject: [PATCH 2/3] Update ci.yml Keep language more similar --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9f3a917..b3b3bb9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: - run: git submodule update --init --depth=1 modules/zotero-schema - run: git submodule update --init --depth=1 modules/translators - - name: Use Node.js ${{ matrix.node-version }} + - name: Install Node ${{ matrix.node-version }} uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} From ec83c1fbea206d96197f2e8633d018e00efafd87 Mon Sep 17 00:00:00 2001 From: Marielle Volz Date: Wed, 13 Mar 2024 11:05:05 +0000 Subject: [PATCH 3/3] Test against node 18 and 20 Remove testing against 16, add testing against node 20. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b3b3bb9..1425f2c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ jobs: timeout-minutes: 5 strategy: matrix: - node-version: [16, 18] + node-version: [18, 20] steps: - uses: actions/checkout@v2