Skip to content
This repository was archived by the owner on Mar 20, 2024. It is now read-only.

Commit f8e3275

Browse files
committed
Updating Axios and Jest config
1 parent ffba3fc commit f8e3275

File tree

7 files changed

+11
-17434
lines changed

7 files changed

+11
-17434
lines changed

.github/workflows/node.js-macos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ jobs:
1212

1313
strategy:
1414
matrix:
15-
node-version: [16.x]
16-
npm-version: [6.x, 8.x, 9.x]
15+
node-version: [20.x]
16+
npm-version: [9.x, 10.x]
1717

1818
steps:
1919
- uses: actions/checkout@v2

.github/workflows/node.js-ubuntu.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@ jobs:
1212

1313
strategy:
1414
matrix:
15-
node-version: [14.x, 15.x, 16.x]
16-
npm-version: [8.x, 9.x]
17-
yarn-version: [2.x, 3.x]
15+
node-version: [20.x]
16+
npm-version: [9.x, 10.x]
1817

1918
steps:
2019
- uses: actions/checkout@v2

.github/workflows/node.js-windows.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@ jobs:
1212

1313
strategy:
1414
matrix:
15-
node-version: [14.x, 15.x, 16.x]
16-
npm-version: [8.x, 9.x]
17-
yarn-version: [2.x, 3.x]
15+
node-version: [20.x]
16+
npm-version: [9.x, 10.x]
1817

1918
steps:
2019
- uses: actions/checkout@v2

jest.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,8 @@ module.exports = {
77
"node_modules",
88
"./src"
99
],
10+
moduleNameMapper: {
11+
"axios": "axios/dist/node/axios.cjs"
12+
},
1013
moduleFileExtensions: ['ts', 'js', 'json', 'node'],
1114
};

0 commit comments

Comments
 (0)