mirror of
https://github.com/ivuorinen/gh-action-readme.git
synced 2026-01-26 11:14:04 +00:00
* chore(lint): funcorder * chore(lint): yamlfmt, ignored broken test yaml files * chore(tests): tests do not output garbage, add coverage * chore(lint): fix editorconfig violations * chore(lint): move from eclint to editorconfig-checker * chore(lint): add pre-commit, run and fix * chore(ci): we use renovate to manage updates
25 lines
540 B
YAML
25 lines
540 B
YAML
---
|
|
name: 'Node.js 16 Action'
|
|
description: 'JavaScript action running on Node.js 16'
|
|
inputs:
|
|
script-path:
|
|
description: 'Path to the script to execute'
|
|
required: true
|
|
args:
|
|
description: 'Arguments to pass to the script'
|
|
required: false
|
|
default: ''
|
|
outputs:
|
|
exit-code:
|
|
description: 'Exit code of the script'
|
|
stdout:
|
|
description: 'Standard output from the script'
|
|
runs:
|
|
using: 'node16'
|
|
main: 'dist/index.js'
|
|
pre: 'dist/setup.js'
|
|
post: 'dist/cleanup.js'
|
|
branding:
|
|
icon: 'terminal'
|
|
color: 'green'
|