From 831c3dec294a6156991f773b8622e81aabb229a4 Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Wed, 8 Sep 2021 11:40:54 +0200 Subject: [PATCH] chore: bump version of CircleCI orb (#11822) Also lock down node 16 to 16.8 due to node bug --- .circleci/config.yml | 5 +++-- .github/workflows/nodejs.yml | 3 ++- examples/mongodb/setup.js | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 42241a70c7d4..e6e5330970b9 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -12,7 +12,7 @@ aliases: app-dir: ~/jest orbs: - node: circleci/node@4.0.0 + node: circleci/node@4.7.0 jobs: test-node: @@ -70,5 +70,6 @@ workflows: partial: true matrix: parameters: - node-version: ['10', '12', '15', '16'] + # https://github.com/nodejs/node/issues/40030 + node-version: ['10', '12', '15', '16.8'] - test-jest-jasmine diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 34cafe152b98..4b90243502db 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -69,7 +69,8 @@ jobs: strategy: fail-fast: false matrix: - node-version: [10.x, 12.x, 14.x, 15.x, 16.x] + # https://github.com/nodejs/node/issues/40030 + node-version: [10.x, 12.x, 14.x, 15.x, 16.8] os: [ubuntu-latest, macOS-latest, windows-latest] runs-on: ${{ matrix.os }} needs: prepare-yarn-cache diff --git a/examples/mongodb/setup.js b/examples/mongodb/setup.js index 17e5159cc1e8..e7ca973fa043 100644 --- a/examples/mongodb/setup.js +++ b/examples/mongodb/setup.js @@ -18,7 +18,7 @@ module.exports = async () => { const mongoConfig = { mongoDBName: 'jest', - mongoUri: await mongod.getConnectionString(), + mongoUri: await mongod.getUri(), }; // Write global config to disk because all tests run in different contexts.