Skip to content

Commit

Permalink
Merge pull request #37 from JoshMock/find-my-way-patch
Browse files Browse the repository at this point in the history
Upgrade find-my-way
  • Loading branch information
JoshMock authored Oct 24, 2024
2 parents d8b53c6 + 7a15501 commit b050e8f
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 29 deletions.
56 changes: 29 additions & 27 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,39 +9,41 @@ jobs:

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

steps:
- uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- name: Install
run: |
npm install
- name: Test
run: |
npm test
- uses: actions/checkout@v4
with:
persist-credentials: false

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Install
run: |
npm install
- name: Test
run: |
npm test
coverage:
name: Coverage
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Use Node.js 12.x
uses: actions/setup-node@v1
with:
node-version: 12.x

- name: Install
run: |
npm install
- name: Coverage check
run: |
npm run coverage:check
- uses: actions/checkout@v4

- name: Use Node.js 22.x
uses: actions/setup-node@v4
with:
node-version: 22.x

- name: Install
run: |
npm install
- name: Coverage check
run: |
npm run coverage:check
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@elastic/elasticsearch-mock",
"version": "2.0.0",
"version": "2.0.1",
"description": "Mock utility for the Elasticsearch's Node.js client",
"main": "index.js",
"types": "index.d.ts",
Expand Down Expand Up @@ -43,7 +43,7 @@
},
"dependencies": {
"fast-deep-equal": "^3.1.3",
"find-my-way": "^5.2.0",
"find-my-way": "^9.1.0",
"into-stream": "^6.0.0"
}
}

0 comments on commit b050e8f

Please sign in to comment.