mirror of
				https://github.com/actions/setup-node.git
				synced 2025-10-31 23:43:33 +00:00 
			
		
		
		
	fix #1016 Update support Node.js v22
This commit is contained in:
		
							parent
							
								
									c2ac33f2c6
								
							
						
					
					
						commit
						3ad332857b
					
				
							
								
								
									
										2
									
								
								.github/workflows/basic-validation.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/basic-validation.yml
									
									
									
									
										vendored
									
									
								
							| @ -16,4 +16,4 @@ jobs: | ||||
|     name: Basic validation | ||||
|     uses: actions/reusable-workflows/.github/workflows/basic-validation.yml@main | ||||
|     with: | ||||
|       node-version: '20.x' | ||||
|       node-version: '22.x' | ||||
|  | ||||
							
								
								
									
										2
									
								
								.github/workflows/check-dist.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/check-dist.yml
									
									
									
									
										vendored
									
									
								
							| @ -16,4 +16,4 @@ jobs: | ||||
|     name: Check dist/ | ||||
|     uses: actions/reusable-workflows/.github/workflows/check-dist.yml@main | ||||
|     with: | ||||
|       node-version: '20.x' | ||||
|       node-version: '22.x' | ||||
|  | ||||
| @ -103,8 +103,8 @@ The `node-version` input supports the Semantic Versioning Specification, for mor | ||||
| 
 | ||||
| Examples: | ||||
| 
 | ||||
|  - Major versions: `18`, `20` | ||||
|  - More specific versions: `10.15`, `16.15.1` , `18.4.0` | ||||
|  - Major versions: `18`, `20`, `22` | ||||
|  - More specific versions: `10.15`, `16.15.1` , `18.4.0`, `22.0.0` | ||||
|  - NVM LTS syntax: `lts/erbium`, `lts/fermium`, `lts/*`, `lts/-n` | ||||
|  - Latest release: `*` or `latest`/`current`/`node` | ||||
| 
 | ||||
|  | ||||
| @ -33,7 +33,7 @@ outputs: | ||||
|   node-version: | ||||
|     description: 'The installed node version.' | ||||
| runs: | ||||
|   using: 'node20' | ||||
|   using: 'node22' | ||||
|   main: 'dist/setup/index.js' | ||||
|   post: 'dist/cache-save/index.js' | ||||
|   post-if: success() | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user