https://github.com/nodenv/actions-setup-nodenv
(distribution repo to facilitate GH Marketplace listing)
https://github.com/nodenv/actions-setup-nodenv
Last synced: 11 months ago
JSON representation
(distribution repo to facilitate GH Marketplace listing)
- Host: GitHub
- URL: https://github.com/nodenv/actions-setup-nodenv
- Owner: nodenv
- Created: 2020-03-20T01:47:13.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2024-05-26T20:52:06.000Z (about 2 years ago)
- Last Synced: 2024-11-04T15:03:16.339Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 85.9 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# setup-nodenv [](https://github.com/nodenv/actions)
[](https://github.com/nodenv/actions-setup-nodenv/releases/latest)
[](https://github.com/nodenv/actions/actions/workflows/test.yml)
[](https://github.com/nodenv/actions/actions/workflows/examples.yml)
## Usage
This action installs nodenv and adds it to PATH such that it is available in subsequent steps.
```yml
steps:
- uses: nodenv/actions/setup-nodenv@v3
- run: nodenv version # nodenv is in PATH!
```
## Special Note
This action is maintained within the [nodenv/actions monorepo](https://github.com/nodenv/actions),
but released through its [own repository](https://github.com/nodenv/actions-setup-nodenv)
(in order to be listed in the GitHub Marketplace).
You may reference either one in your workflows:
```yml
# pulls from the monorepo
- uses: nodenv/actions/setup-nodenv@v3
# pulls from the release repo
- uses: nodenv/actions-setup-nodenv@v3
```
**Issues and Pull Requests should be opened in the [monorepo](https://github.com/nodenv/actions), please!**