Skip to content

Commit 5305687

Browse files
committed
Do not test on node@12 anymore (has reached end of life), run tests on node@18, use node@16 for the unit tests
1 parent d278675 commit 5305687

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.github/workflows/browserstack.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v2
1515
- uses: actions/setup-node@v1
1616
with:
17-
node-version: 14.x
17+
node-version: 16.x
1818
- run: npm ci
1919
- run: npm run test:browserstack
2020
env:

.github/workflows/build.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
strategy:
1515
matrix:
16-
node-version: [12.x, 14.x, 16.x]
16+
node-version: [14.x, 16.x, 18.x]
1717

1818
steps:
1919
- uses: actions/checkout@v2
@@ -33,7 +33,7 @@ jobs:
3333
- uses: actions/checkout@v2
3434
- uses: actions/setup-node@v1
3535
with:
36-
node-version: 14.x
36+
node-version: 16.x
3737
- run: npm ci
3838
- run: npm run lint
3939
env:
@@ -46,7 +46,7 @@ jobs:
4646
- uses: actions/checkout@v2
4747
- uses: actions/setup-node@v1
4848
with:
49-
node-version: 14.x
49+
node-version: 16.x
5050
- run: npm ci
5151
- run: npm run coverage && npx codecov
5252
env:
@@ -59,7 +59,7 @@ jobs:
5959
- uses: actions/checkout@v2
6060
- uses: actions/setup-node@v1
6161
with:
62-
node-version: 14.x
62+
node-version: 16.x
6363
- run: npm ci
6464
- run: npm run build-and-test
6565
env:

.github/workflows/local-browser.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- uses: actions/checkout@v2
1212
- uses: actions/setup-node@v1
1313
with:
14-
node-version: 14.x
14+
node-version: 16.x
1515
- run: npm ci
1616
- run: npm run test:browser
1717
env:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@
166166
"mathjs": "./bin/cli.js"
167167
},
168168
"engines": {
169-
"node": ">= 12"
169+
"node": ">= 14"
170170
},
171171
"bugs": {
172172
"url": "https://github.com/josdejong/mathjs/issues"

0 commit comments

Comments
 (0)