Skip to content

Test against node 18 and node 20 #117

Test against node 18 and node 20

Test against node 18 and node 20 #117

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]
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