GitHub Action: Setup Node.js
Overview
Action to setup Node.js and install dependencies according to the package manager used.
Usage
- uses: hoverkraft-tech/ci-github-nodejs/actions/setup-node@4d7c1ed87c18493fc4c2dbae4dbde46cf251c9a7 # 0.16.1
with:
# List of dependencies for which the cache should be managed
dependencies-cache: ""
# Working directory where the dependencies are installed.
# Can be absolute or relative to the repository root.
#
# Default: `.`
working-directory: .
Inputs
| Input | Description | Required | Default |
|---|---|---|---|
dependencies-cache |
List of dependencies for which the cache should be managed | false | - |
working-directory |
Working directory where the dependencies are installed. | false | . |
| Can be absolute or relative to the repository root. |
Outputs
| Output | Description |
|---|---|
run-script-command |
The command to run a script in the package.json file |
Contributing
Contributions are welcome! Please see the contributing guidelines for more details.
License
This project is licensed under the MIT License.
SPDX-License-Identifier: MIT
Copyright © 2025 Hoverkraft
For more details, see the license.
This documentation was automatically generated by CI Dokumentor.