You've already forked setup-node
							
							
				mirror of
				https://github.com/actions/setup-node.git
				synced 2025-10-31 23:26:22 +07:00 
			
		
		
		
	Compare commits
	
		
			1 Commits
		
	
	
		
			ethomson/u
			...
			ethomson/u
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 62fdfbb318 | 
| @ -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 | ||||
| ``` | ||||
|  | ||||
|  | ||||
| @ -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: | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	