Switch Node versioning to engines

This commit is contained in:
Nick Alteen 2023-08-24 14:55:31 -04:00
parent e0529cc926
commit 7c0db4872d
4 changed files with 10 additions and 4 deletions

View File

@ -1 +0,0 @@
18.16.0

View File

@ -31,9 +31,10 @@ need to perform some initial setup steps before you can develop your action.
>
> You'll need to have a reasonably modern version of
> [Node.js](https://nodejs.org) handy. If you are using a version manager like
> [`nodenv`](https://github.com/nodenv/nodenv), you can run `nodenv install` in
> the root of your repository to install the version specified in
> [`.node-version`](.node-version). Otherwise, 16.x or later should work!
> [`nodenv`](https://github.com/nodenv/nodenv) or
> [`nvm`](https://github.com/nvm-sh/nvm), you can run `nodenv install` in the
> root of your repository to install the version specified in
> [`package.json`](./package.json). Otherwise, 16.x or later should work!
1. :hammer_and_wrench: Install the dependencies

3
package-lock.json generated
View File

@ -29,6 +29,9 @@
"prettier-eslint": "^15.0.1",
"ts-jest": "^29.1.1",
"typescript": "^5.1.6"
},
"engines": {
"node": ">=16"
}
},
"node_modules/@aashutoshrathi/word-wrap": {

View File

@ -18,6 +18,9 @@
"setup"
],
"main": "dist/index.js",
"engines": {
"node": ">=16"
},
"scripts": {
"bundle": "npm run format:write && npm run package",
"ci-test": "jest",