hmpo-model 4.0.2 → 4.0.3

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.
@@ -0,0 +1,27 @@
1
+ name: Node.js CI
2
+
3
+ on:
4
+ push:
5
+ branches: [ master ]
6
+ pull_request:
7
+ branches: [ master ]
8
+
9
+ jobs:
10
+ build:
11
+
12
+ runs-on: ubuntu-latest
13
+
14
+ strategy:
15
+ matrix:
16
+ node-version: [12.x, 14.x, 15.x]
17
+
18
+ steps:
19
+ - uses: actions/checkout@v2
20
+ - name: Use Node.js ${{ matrix.node-version }}
21
+ uses: actions/setup-node@v2
22
+ with:
23
+ node-version: ${{ matrix.node-version }}
24
+ - name: Install dependencies
25
+ run: npm ci
26
+ - name: Run tests
27
+ run: npm test
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hmpo-model",
3
- "version": "4.0.2",
3
+ "version": "4.0.3",
4
4
  "description": "Simple model for interacting with http/rest apis.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -31,13 +31,13 @@
31
31
  "lodash.kebabcase": "^4.1.1"
32
32
  },
33
33
  "devDependencies": {
34
- "chai": "^4.3.4",
35
- "eslint": "^8.3.0",
36
- "hmpo-logger": "^4.1.3",
37
- "mocha": "^9.1.3",
34
+ "chai": "^4.3.6",
35
+ "eslint": "^8.10.0",
36
+ "hmpo-logger": "^4.1.4",
37
+ "mocha": "^9.2.1",
38
38
  "nyc": "^15.1.0",
39
39
  "proxyquire": "^2.0.0",
40
- "sinon": "^12.0.1",
40
+ "sinon": "^13.0.1",
41
41
  "sinon-chai": "^3.7.0"
42
42
  },
43
43
  "nyc": {
@@ -1,21 +0,0 @@
1
- # This config is equivalent to both the '.circleci/extended/orb-free.yml' and the base '.circleci/config.yml'
2
- version: 2.1
3
-
4
- # Orbs are reusable packages of CircleCI configuration that you may share across projects, enabling you to create encapsulated, parameterized commands, jobs, and executors that can be used across multiple projects.
5
- # See: https://circleci.com/docs/2.0/orb-intro/
6
- orbs:
7
- node: circleci/node@4.7
8
-
9
- # Invoke jobs via workflows
10
- # See: https://circleci.com/docs/2.0/configuration-reference/#workflows
11
- workflows:
12
- sample: # This is the name of the workflow, feel free to change it to better match your workflow.
13
- # Inside the workflow, you define the jobs you want to run.
14
- jobs:
15
- - node/test:
16
- # This is the node version to use for the `cimg/node` tag
17
- # Relevant tags can be found on the CircleCI Developer Hub
18
- # https://circleci.com/developer/images/image/cimg/node
19
- version: '16.10'
20
- # If you are using yarn, change the line below from "npm" to "yarn"
21
- pkg-manager: npm