Skip to content

Commit

Permalink
Bump engines to node 16 and npm 8
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Support only node >= 16 and npm >= 8. YMMV with older versions.
  • Loading branch information
bcomnes committed Jun 10, 2022
1 parent 01c4a43 commit 7d19dd4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
required: true

env:
NODE_VERSION: 14
NODE_VERSION: 'lts/*'
FORCE_COLOR: 2

jobs:
Expand All @@ -29,7 +29,7 @@ jobs:
- run: git status # getting odd dirty repo errors during version debug info
- run: git diff
- name: npm version && npm publish
uses: bcomnes/npm-bump@v2
uses: bcomnes/npm-bump@v2.0.2
with:
git_email: bcomnes@gmail.com
git_username: ${{ github.actor }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
node: [14, 12]
os: [ubuntu-latest, windows-latest, macos-latest]
node: ['lts/*', 18]

steps:
- uses: actions/checkout@v3
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"docs"
],
"engines": {
"node": ">= 10"
"node": ">= 16",
"npm": ">= 8"
},
"scripts": {
"_mocha": "mocha --timeout 120000",
Expand Down

0 comments on commit 7d19dd4

Please sign in to comment.