Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

setup node engines based on .engines of package.json

License

Notifications You must be signed in to change notification settings

Nanai10a-Archives/setup-engines

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

setup-engines (v0)

setup "engines" of package.json for node

usage

use this on actions (.github/workflows/*.yml) before use node commands in actions: uses: Nanai10a/setup-engines@v1.

limitation

read .engines from <repo root>/package.json only, however this doesn't read package.json in other directory.
in future, read and validate: check package.json of all in repo, and solve version of node to matches all requirings.