Skip to content

Commit b050e8f

Browse files
authored
Merge pull request #37 from JoshMock/find-my-way-patch
Upgrade find-my-way
2 parents d8b53c6 + 7a15501 commit b050e8f

File tree

2 files changed

+31
-29
lines changed

2 files changed

+31
-29
lines changed

.github/workflows/build.yml

+29-27
Original file line numberDiff line numberDiff line change
@@ -9,39 +9,41 @@ jobs:
99

1010
strategy:
1111
matrix:
12-
node-version: [12.x, 14.x, 16.x]
12+
node-version: [18.x, 20.x, 22.x]
1313
os: [ubuntu-latest, windows-latest, macOS-latest]
1414

1515
steps:
16-
- uses: actions/checkout@v2
17-
18-
- name: Use Node.js ${{ matrix.node-version }}
19-
uses: actions/setup-node@v1
20-
with:
21-
node-version: ${{ matrix.node-version }}
22-
23-
- name: Install
24-
run: |
25-
npm install
26-
- name: Test
27-
run: |
28-
npm test
16+
- uses: actions/checkout@v4
17+
with:
18+
persist-credentials: false
19+
20+
- name: Use Node.js ${{ matrix.node-version }}
21+
uses: actions/setup-node@v4
22+
with:
23+
node-version: ${{ matrix.node-version }}
24+
25+
- name: Install
26+
run: |
27+
npm install
28+
- name: Test
29+
run: |
30+
npm test
2931
3032
coverage:
3133
name: Coverage
3234
runs-on: ubuntu-latest
3335

3436
steps:
35-
- uses: actions/checkout@v2
36-
37-
- name: Use Node.js 12.x
38-
uses: actions/setup-node@v1
39-
with:
40-
node-version: 12.x
41-
42-
- name: Install
43-
run: |
44-
npm install
45-
- name: Coverage check
46-
run: |
47-
npm run coverage:check
37+
- uses: actions/checkout@v4
38+
39+
- name: Use Node.js 22.x
40+
uses: actions/setup-node@v4
41+
with:
42+
node-version: 22.x
43+
44+
- name: Install
45+
run: |
46+
npm install
47+
- name: Coverage check
48+
run: |
49+
npm run coverage:check

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@elastic/elasticsearch-mock",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"description": "Mock utility for the Elasticsearch's Node.js client",
55
"main": "index.js",
66
"types": "index.d.ts",
@@ -43,7 +43,7 @@
4343
},
4444
"dependencies": {
4545
"fast-deep-equal": "^3.1.3",
46-
"find-my-way": "^5.2.0",
46+
"find-my-way": "^9.1.0",
4747
"into-stream": "^6.0.0"
4848
}
4949
}

0 commit comments

Comments
 (0)