mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2024-12-25 20:15:49 +00:00
Update README to include yarn
A user indicated that it was not clear that the `setup-node` action took care of yarn, and tried using an incompatible third-party action. Better specify that yarn is included above the fold.
This commit is contained in:
parent
466ce3c2f0
commit
62fdfbb318
1 changed files with 4 additions and 3 deletions
|
@ -4,10 +4,11 @@
|
||||||
<a href="https://github.com/actions/setup-node"><img alt="GitHub Actions status" src="https://github.com/actions/setup-node/workflows/Main%20workflow/badge.svg"></a>
|
<a href="https://github.com/actions/setup-node"><img alt="GitHub Actions status" src="https://github.com/actions/setup-node/workflows/Main%20workflow/badge.svg"></a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
This action sets by node environment for use in actions by:
|
This action sets up a node environment for use in actions, including npm and yarn. It:
|
||||||
|
|
||||||
- optionally downloading and caching a version of node - npm by version spec and add to PATH
|
- sets up the specified version of node (downloading it if it's not already available)
|
||||||
- registering problem matchers for error output
|
- adds node, npm and yarn to the PATH
|
||||||
|
- registers problem matchers for error output
|
||||||
|
|
||||||
# Usage
|
# Usage
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue