mirror of
				https://kkgithub.com/actions/setup-node.git
				synced 2025-11-04 04:31:55 +08:00 
			
		
		
		
	Update README.md
This commit is contained in:
		@ -8,6 +8,7 @@ This action sets by node environment for use in actions by:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
- optionally downloading and caching a version of node - npm by version spec and add to PATH
 | 
					- optionally downloading and caching a version of node - npm by version spec and add to PATH
 | 
				
			||||||
- registering problem matchers for error output
 | 
					- registering problem matchers for error output
 | 
				
			||||||
 | 
					- configuring authentication for GPR or npm
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Usage
 | 
					# Usage
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -19,7 +20,7 @@ steps:
 | 
				
			|||||||
- uses: actions/checkout@v2
 | 
					- uses: actions/checkout@v2
 | 
				
			||||||
- uses: actions/setup-node@v1
 | 
					- uses: actions/setup-node@v1
 | 
				
			||||||
  with:
 | 
					  with:
 | 
				
			||||||
    node-version: '10.x'
 | 
					    node-version: '12'
 | 
				
			||||||
- run: npm install
 | 
					- run: npm install
 | 
				
			||||||
- run: npm test
 | 
					- run: npm test
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user