mirror of
				https://code.forgejo.org/actions/checkout.git
				synced 2025-10-30 20:42:30 +00:00 
			
		
		
		
	Update actions checkout to use node 24 (#2226)
* use node 24 * update other parts to node 24 * bump to major version, audit fix, changelog * update licenses * update dist * update major version * will do separate pr for v5 and will do a minor version for previous changes
This commit is contained in:
		
							parent
							
								
									08eba0b27e
								
							
						
					
					
						commit
						9f265659d3
					
				
					 5 changed files with 13 additions and 13 deletions
				
			
		
							
								
								
									
										4
									
								
								.github/workflows/check-dist.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/check-dist.yml
									
										
									
									
										vendored
									
									
								
							|  | @ -24,10 +24,10 @@ jobs: | |||
|     steps: | ||||
|       - uses: actions/checkout@v4.1.6 | ||||
| 
 | ||||
|       - name: Set Node.js 20.x | ||||
|       - name: Set Node.js 24.x | ||||
|         uses: actions/setup-node@v4 | ||||
|         with: | ||||
|           node-version: 20.x | ||||
|           node-version: 24.x | ||||
| 
 | ||||
|       - name: Install dependencies | ||||
|         run: npm ci | ||||
|  |  | |||
							
								
								
									
										2
									
								
								.github/workflows/test.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/test.yml
									
										
									
									
										vendored
									
									
								
							|  | @ -18,7 +18,7 @@ jobs: | |||
|     steps: | ||||
|       - uses: actions/setup-node@v4 | ||||
|         with: | ||||
|           node-version: 20.x | ||||
|           node-version: 24.x | ||||
|       - uses: actions/checkout@v4.1.6 | ||||
|       - run: npm ci | ||||
|       - run: npm run build | ||||
|  |  | |||
|  | @ -104,6 +104,6 @@ outputs: | |||
|   commit: | ||||
|     description: 'The commit SHA that was checked out' | ||||
| runs: | ||||
|   using: node20 | ||||
|   using: node24 | ||||
|   main: dist/index.js | ||||
|   post: dist/index.js | ||||
|  |  | |||
							
								
								
									
										16
									
								
								package-lock.json
									
										
									
										generated
									
									
									
								
							
							
						
						
									
										16
									
								
								package-lock.json
									
										
									
										generated
									
									
									
								
							|  | @ -18,7 +18,7 @@ | |||
|       }, | ||||
|       "devDependencies": { | ||||
|         "@types/jest": "^29.5.12", | ||||
|         "@types/node": "^20.12.12", | ||||
|         "@types/node": "^24.1.0", | ||||
|         "@types/uuid": "^9.0.8", | ||||
|         "@typescript-eslint/eslint-plugin": "^7.9.0", | ||||
|         "@typescript-eslint/parser": "^7.9.0", | ||||
|  | @ -1515,12 +1515,12 @@ | |||
|       "dev": true | ||||
|     }, | ||||
|     "node_modules/@types/node": { | ||||
|       "version": "20.12.12", | ||||
|       "resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.12.tgz", | ||||
|       "integrity": "sha512-eWLDGF/FOSPtAvEqeRAQ4C8LSA7M1I7i0ky1I8U7kD1J5ITyW3AsRhQrKVoWf5pFKZ2kILsEGJhsI9r93PYnOw==", | ||||
|       "version": "24.1.0", | ||||
|       "resolved": "https://registry.npmjs.org/@types/node/-/node-24.1.0.tgz", | ||||
|       "integrity": "sha512-ut5FthK5moxFKH2T1CUOC6ctR67rQRvvHdFLCD2Ql6KXmMuCrjsSsRI9UsLCm9M18BMwClv4pn327UvB7eeO1w==", | ||||
|       "dev": true, | ||||
|       "dependencies": { | ||||
|         "undici-types": "~5.26.4" | ||||
|         "undici-types": "~7.8.0" | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/@types/stack-utils": { | ||||
|  | @ -6865,9 +6865,9 @@ | |||
|       } | ||||
|     }, | ||||
|     "node_modules/undici-types": { | ||||
|       "version": "5.26.5", | ||||
|       "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", | ||||
|       "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==", | ||||
|       "version": "7.8.0", | ||||
|       "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.8.0.tgz", | ||||
|       "integrity": "sha512-9UJ2xGDvQ43tYyVMpuHlsgApydB8ZKfVYTsLDhXkFL/6gfkp+U8xTGdh8pMJv1SpZna0zxG1DwsKZsreLbXBxw==", | ||||
|       "dev": true | ||||
|     }, | ||||
|     "node_modules/universal-user-agent": { | ||||
|  |  | |||
|  | @ -37,7 +37,7 @@ | |||
|   }, | ||||
|   "devDependencies": { | ||||
|     "@types/jest": "^29.5.12", | ||||
|     "@types/node": "^20.12.12", | ||||
|     "@types/node": "^24.1.0", | ||||
|     "@types/uuid": "^9.0.8", | ||||
|     "@typescript-eslint/eslint-plugin": "^7.9.0", | ||||
|     "@typescript-eslint/parser": "^7.9.0", | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue