From 2bd356ed4f823f6a11640858e6af0d682fc54ac8 Mon Sep 17 00:00:00 2001 From: Anders Evenrud Date: Fri, 29 Jul 2022 22:55:33 +0200 Subject: [PATCH] Update CI tests --- .github/workflows/codeclimate.yml | 2 +- .github/workflows/test.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/codeclimate.yml b/.github/workflows/codeclimate.yml index a35e8a1..d51c55c 100644 --- a/.github/workflows/codeclimate.yml +++ b/.github/workflows/codeclimate.yml @@ -9,7 +9,7 @@ jobs: - uses: actions/setup-node@v1 with: node-version: '14' - - run: npm install -g jest + - run: npm install -g jest@^26 - run: npm install - uses: paambaati/codeclimate-action@v2.4.0 env: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0e2434d..d02e816 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,12 +6,12 @@ jobs: name: Unit tests (node ${{ matrix.node }}) strategy: matrix: - node: [ '14', '10' ] + node: [ '16', '14', '12' ] steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: node-version: ${{ matrix.node }} - - run: npm install -g jest + - run: npm install -g jest@^26 - run: npm install - run: npm run jest