Skip to content

Commit

Permalink
improvement(update action): update the github action
Browse files Browse the repository at this point in the history
Add icon, colour to action.yml
  • Loading branch information
culshaw committed Apr 3, 2020
1 parent bd71809 commit 712efd0
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions action.yml
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'

0 comments on commit 712efd0

Please sign in to comment.