1
0
Fork 0
mirror of https://github.com/actions/setup-node synced 2024-12-23 13:42:42 +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:
Edward Thomson 2019-10-18 11:36:35 +01:00 committed by GitHub
parent 466ce3c2f0
commit 62fdfbb318
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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