Compare commits

..

1 Commits

Author SHA1 Message Date
62fdfbb318 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.
2019-10-18 11:36:35 +01:00
2 changed files with 7 additions and 6 deletions

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>
</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
- registering problem matchers for error output
- sets up the specified version of node (downloading it if it's not already available)
- adds node, npm and yarn to the PATH
- registers problem matchers for error output
# Usage
@ -96,7 +97,7 @@ steps:
- run: npm install --ignore-scripts
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
# `npm rebuild` will run all those post-install scripts for us.
# `npm rebuild` will run all those post-install scritps for us.
- run: npm rebuild && npm run prepare --if-present
```

View File

@ -1,5 +1,5 @@
name: 'Setup Node.js'
description: 'Set up a specific version of Node.js and add the command-line tools to the PATH'
name: 'Setup Node.js environment'
description: 'Setup a Node.js environment and add it to the PATH, additionally providing proxy support'
author: 'GitHub'
inputs:
always-auth: