Skip to content

Commit c4e724c

Browse files
authored
Drop support for node v12 (#175)
* drop support for node v12 * Update nodejs.yml * Update npmpublish.yml
1 parent 15d65dd commit c4e724c

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/nodejs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414

1515
strategy:
1616
matrix:
17-
node-version: [12.x, 14.x, 16.x, 18.x]
17+
node-version: [14.x, 16.x, 18.x, 20.x]
1818

1919
steps:
2020
- uses: actions/checkout@v4.1.1

.github/workflows/npmpublish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- uses: actions/checkout@v4.1.1
1212
- uses: actions/setup-node@v4.0.2
1313
with:
14-
node-version: 12
14+
node-version: 16
1515
- run: npm ci
1616
- run: npm test
1717

@@ -22,7 +22,7 @@ jobs:
2222
- uses: actions/checkout@v4.1.1
2323
- uses: actions/setup-node@v4.0.2
2424
with:
25-
node-version: 12
25+
node-version: 16
2626
registry-url: https://registry.npmjs.org/
2727
- run: npm ci
2828
- run: npm publish

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"lib"
2121
],
2222
"engines": {
23-
"node": ">= 12.0.0"
23+
"node": ">= 14"
2424
},
2525
"scripts": {
2626
"test": "mocha --reporter dot"

0 commit comments

Comments
 (0)