mongodb-atlas-api-client 3.5.0 → 3.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,8 +4,23 @@ on:
4
4
  workflow_dispatch:
5
5
 
6
6
  jobs:
7
+ build:
8
+ runs-on: ubuntu-latest
9
+ strategy:
10
+ matrix:
11
+ node: [ 14, 16, 18 ]
12
+ name: Node ${{ matrix.node }} sample
13
+ steps:
14
+ - uses: actions/checkout@v3
15
+ - name: Setup node
16
+ uses: actions/setup-node@v3
17
+ with:
18
+ node-version: ${{ matrix.node }}
19
+ - run: npm install
20
+ - run: npm test
7
21
  publish-npm:
8
22
  runs-on: ubuntu-latest
23
+ needs: build
9
24
  steps:
10
25
  - uses: actions/checkout@v1
11
26
  with:
@@ -13,7 +28,7 @@ jobs:
13
28
  fetch-depth: 0 # otherwise, you will failed to push refs to dest repo:
14
29
  - uses: actions/setup-node@v1
15
30
  with:
16
- node-version: 12
31
+ node-version: 14
17
32
  registry-url: https://registry.npmjs.org/
18
33
  - run: npm update
19
34
  - run: npm audit fix
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "mongodb-atlas-api-client",
3
- "version": "3.5.0",
3
+ "version": "3.7.0",
4
4
  "description": "A mongodb atlas api client for nodejs.",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
7
7
  "pretest": "npm run depcheck && eslint --cache \"src/**/*.js\" \"test/**/*.js\"",
8
8
  "depcheck": "depcheck",
9
- "test": "./node_modules/@hapi/lab/bin/lab -I @@any-promise/REGISTRATION ./test/ -v -S --assert @hapi/code --threshold 100 -p 1 -o test-results/result.json -r json -r console -o stdout",
9
+ "test": "./node_modules/@hapi/lab/bin/lab -I '@@any-promise/REGISTRATION,Symbol(undici.globalDispatcher.1)' ./test/ -v -S --assert @hapi/code --threshold 100 -p 1 -o test-results/result.json -r json -r console -o stdout",
10
10
  "lint": "./node_modules/.bin/eslint ./src --fix",
11
11
  "premajor": "npm run test",
12
12
  "major": "npm version major -m \"published to npm as v%s\" && git push --follow-tags && npm publish",