Skip to content

Commit

Permalink
chore: bump version of CircleCI orb (#11822)
Browse files Browse the repository at this point in the history
Also lock down node 16 to 16.8 due to node bug
  • Loading branch information
SimenB authored Sep 8, 2021
1 parent 7399d48 commit 831c3de
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ aliases:
app-dir: ~/jest

orbs:
node: circleci/node@4.0.0
node: circleci/node@4.7.0

jobs:
test-node:
Expand Down Expand Up @@ -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
3 changes: 2 additions & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/mongodb/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 831c3de

Please sign in to comment.