This repository has been archived on 2022-10-07. You can view files and clone it, but cannot push or open issues or pull requests.
skynet-webportal/.github/actions/node-action/action.yml

23 lines
518 B
YAML
Raw Normal View History

2022-04-07 20:38:26 +00:00
# Define action name, description, and inputs
name: "Node Action"
description: "Execute a node action"
inputs:
working-directory:
required: false
description: "Working directory"
default: "."
node-action:
required: true
description: "The action to be run"
# Define action steps
runs:
using: "composite"
steps:
- uses: actions/setup-node@v3
with:
node-version: 16.x
- run: $inputs.node-action
shell: bash
working-directory: ${{ inputs.working-directory }}