Skip to content

Commit

Permalink
Use .node-version instead of package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
ybiquitous committed Apr 25, 2024
1 parent 2a37a1b commit 7605908
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ jobs:
test-node-version-file:
uses: ./.github/workflows/test.yml
with:
node-version-file: package.json
node-version-file: .node-version
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20
8 changes: 1 addition & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,5 @@
"scripts": {
"test": "node -e \"console.log('Hello, test: %s', process.argv)\"",
"lint": "echo \"Hello, lint.\""
},
"engines": {
"node": ">=20.0.0"
}
}

0 comments on commit 7605908

Please sign in to comment.