Skip to content

Commit 7d19dd4

Browse files
committedJun 10, 2022
Bump engines to node 16 and npm 8
BREAKING CHANGE: Support only node >= 16 and npm >= 8. YMMV with older versions.
1 parent 01c4a43 commit 7d19dd4

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed
 

‎.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
required: true
99

1010
env:
11-
NODE_VERSION: 14
11+
NODE_VERSION: 'lts/*'
1212
FORCE_COLOR: 2
1313

1414
jobs:
@@ -29,7 +29,7 @@ jobs:
2929
- run: git status # getting odd dirty repo errors during version debug info
3030
- run: git diff
3131
- name: npm version && npm publish
32-
uses: bcomnes/npm-bump@v2
32+
uses: bcomnes/npm-bump@v2.0.2
3333
with:
3434
git_email: bcomnes@gmail.com
3535
git_username: ${{ github.actor }}

‎.github/workflows/test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
os: [ubuntu-latest, windows-latest]
16-
node: [14, 12]
15+
os: [ubuntu-latest, windows-latest, macos-latest]
16+
node: ['lts/*', 18]
1717

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

‎package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"docs"
1515
],
1616
"engines": {
17-
"node": ">= 10"
17+
"node": ">= 16",
18+
"npm": ">= 8"
1819
},
1920
"scripts": {
2021
"_mocha": "mocha --timeout 120000",

0 commit comments

Comments
 (0)
Please sign in to comment.