Skip to content

Add testing against node 21 #45

Add testing against node 21

Add testing against node 21 #45

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
name: Test
runs-on: ubuntu-latest
timeout-minutes: 5
strategy:
matrix:
node-version: [18, 20, 21]
steps:
- uses: actions/checkout@v2
- run: git submodule update --init --depth=1 modules/translate
- run: git submodule update --init --depth=1 modules/utilities
- run: git submodule update --init --depth=1 modules/zotero-schema
- run: git submodule update --init --depth=1 modules/translators
- name: Install Node ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm test