diff --git a/.node-version b/.node-version deleted file mode 100644 index 3c79f30..0000000 --- a/.node-version +++ /dev/null @@ -1 +0,0 @@ -18.16.0 \ No newline at end of file diff --git a/README.md b/README.md index 38764e5..ec746a2 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/package-lock.json b/package-lock.json index dcea335..f4c4f7b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -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": { diff --git a/package.json b/package.json index 25ba22e..51d33ba 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,9 @@ "setup" ], "main": "dist/index.js", + "engines": { + "node": ">=16" + }, "scripts": { "bundle": "npm run format:write && npm run package", "ci-test": "jest",