1
0
Fork 0
mirror of https://github.com/actions/setup-node synced 2024-11-13 00:52:39 +00:00
Commit graph

2 commits

Author SHA1 Message Date
Vladimir Safonkin
348e008008
Fix node version file parsing (#553)
* Fix node version file parsing

* Build index.js

* Non-json file error handling

* Format code

* Add package.json to e2e tests

* Minor fix
2022-08-04 09:57:19 +02:00
mannie.exe
2a814b57e1
Respect package.json's engines.node field when used as a node-version-file (#485)
* Allow reading 'package.json' as node-version-file

* Run 'npm run build'

* Read package.json contents directly during tests

- this eliminates OS-specific line-ending issues

* Run project Prettier 💅
2022-07-21 13:17:21 -04:00