Skip to content

Commit

Permalink
Set minimum NodeJS version to v18
Browse files Browse the repository at this point in the history
  • Loading branch information
75lb committed Feb 3, 2024
1 parent 9355ab4 commit 7d57faf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

name: Node.js CI

Expand All @@ -15,12 +16,12 @@ jobs:

strategy:
matrix:
node-version: [14, 16, 18, 20, 21]
node-version: [18, 20, 21]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"type": "module",
"exports": "./index.js",
"engines": {
"node": ">=14"
"node": ">=18"
},
"repository": "https://github.com/75lb/renamer",
"files": [
Expand Down

0 comments on commit 7d57faf

Please sign in to comment.