Compare commits

..

3 Commits

Author SHA1 Message Date
3fa75190be Update description 2019-11-08 16:24:23 +00:00
6ecfd2dcb2 Merge pull request #66 from phishy/patch-1
Update README.md
2019-10-18 16:37:52 -04:00
f499b0c1ab Update README.md 2019-09-27 07:31:22 -05:00
2 changed files with 6 additions and 7 deletions

View File

@ -4,11 +4,10 @@
<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 up a node environment for use in actions, including npm and yarn. It:
This action sets by node environment for use in actions by:
- 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
- optionally downloading and caching a version of node - npm by version spec and add to PATH
- registering problem matchers for error output
# Usage
@ -97,7 +96,7 @@ steps:
- run: npm install --ignore-scripts
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
# `npm rebuild` will run all those post-install scritps for us.
# `npm rebuild` will run all those post-install scripts for us.
- run: npm rebuild && npm run prepare --if-present
```

View File

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