mirror of
				https://gitea.com/actions/setup-node.git
				synced 2025-10-29 15:52:42 +08:00 
			
		
		
		
	Compare commits
	
		
			5 Commits
		
	
	
		
			v1.2.0
			...
			ethomson/u
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|  | 3fa75190be | ||
|  | 6ecfd2dcb2 | ||
|  | 466ce3c2f0 | ||
|  | f499b0c1ab | ||
|  | e565252a9d | 
							
								
								
									
										12
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								README.md
									
									
									
									
									
								
							| @@ -16,7 +16,7 @@ See [action.yml](action.yml) | ||||
| Basic: | ||||
| ```yaml | ||||
| steps: | ||||
| - uses: actions/checkout@master | ||||
| - uses: actions/checkout@v1 | ||||
| - uses: actions/setup-node@v1 | ||||
|   with: | ||||
|     node-version: '10.x' | ||||
| @@ -34,7 +34,7 @@ jobs: | ||||
|         node: [ '10', '8' ] | ||||
|     name: Node ${{ matrix.node }} sample | ||||
|     steps: | ||||
|       - uses: actions/checkout@master | ||||
|       - uses: actions/checkout@v1 | ||||
|       - name: Setup node | ||||
|         uses: actions/setup-node@v1 | ||||
|         with: | ||||
| @@ -46,7 +46,7 @@ jobs: | ||||
| Publish to npmjs and GPR with npm: | ||||
| ```yaml | ||||
| steps: | ||||
| - uses: actions/checkout@master | ||||
| - uses: actions/checkout@v1 | ||||
| - uses: actions/setup-node@v1 | ||||
|   with: | ||||
|     node-version: '10.x' | ||||
| @@ -66,7 +66,7 @@ steps: | ||||
| Publish to npmjs and GPR with yarn: | ||||
| ```yaml | ||||
| steps: | ||||
| - uses: actions/checkout@master | ||||
| - uses: actions/checkout@v1 | ||||
| - uses: actions/setup-node@v1 | ||||
|   with: | ||||
|     node-version: '10.x' | ||||
| @@ -86,7 +86,7 @@ steps: | ||||
| Use private packages: | ||||
| ```yaml | ||||
| steps: | ||||
| - uses: actions/checkout@master | ||||
| - uses: actions/checkout@v1 | ||||
| - uses: actions/setup-node@v1 | ||||
|   with: | ||||
|     node-version: '10.x' | ||||
| @@ -96,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 | ||||
| ``` | ||||
|  | ||||
|   | ||||
| @@ -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: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user