forked from tyankatsu0105/read-package-version-actions
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improvement(update action): update the github action
Add icon, colour to action.yml
- Loading branch information
Showing
1 changed file
with
6 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,15 @@ | ||
name: 'Read package.json version' | ||
description: 'Output version numbers with package.json' | ||
name: 'Read package.json node version' | ||
description: 'Output node version number from package.json engines field' | ||
color: 'blue' | ||
icon: 'check-square' | ||
|
||
inputs: | ||
path: | ||
description: 'Path of package.json' | ||
default: "./" | ||
outputs: | ||
version: | ||
description: "Version of package" | ||
description: "Node version from engines field in package.json" | ||
runs: | ||
using: 'node12' | ||
main: 'lib/main.js' |