mirror of
				https://github.com/louislam/uptime-kuma.git
				synced 2025-10-31 03:19:20 +08:00 
			
		
		
		
	bumped the node versions tested in CI and removed a few of the needs constraints making CI run slower than it can
				
					
				
			This commit is contained in:
		
							
								
								
									
										8
									
								
								.github/workflows/auto-test.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								.github/workflows/auto-test.yml
									
									
									
									
										vendored
									
									
								
							| @@ -15,14 +15,14 @@ on: | |||||||
|  |  | ||||||
| jobs: | jobs: | ||||||
|   auto-test: |   auto-test: | ||||||
|     needs: [ check-linters, e2e-test ] |     needs: [ check-linters ] | ||||||
|     runs-on: ${{ matrix.os }} |     runs-on: ${{ matrix.os }} | ||||||
|     timeout-minutes: 15 |     timeout-minutes: 15 | ||||||
|  |  | ||||||
|     strategy: |     strategy: | ||||||
|       matrix: |       matrix: | ||||||
|         os: [macos-latest, ubuntu-latest, windows-latest, ARM64] |         os: [macos-latest, ubuntu-latest, windows-latest, ARM64] | ||||||
|         node: [ 18, 20.5 ] |         node: [ 18, 20, 22 ] | ||||||
|         # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ |         # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ | ||||||
|  |  | ||||||
|     steps: |     steps: | ||||||
| @@ -42,7 +42,7 @@ jobs: | |||||||
|  |  | ||||||
|   # As a lot of dev dependencies are not supported on ARMv7, we have to test it separately and just test if `npm ci --production` works |   # As a lot of dev dependencies are not supported on ARMv7, we have to test it separately and just test if `npm ci --production` works | ||||||
|   armv7-simple-test: |   armv7-simple-test: | ||||||
|     needs: [ check-linters ] |     needs: [ ] | ||||||
|     runs-on: ${{ matrix.os }} |     runs-on: ${{ matrix.os }} | ||||||
|     timeout-minutes: 15 |     timeout-minutes: 15 | ||||||
|     if: ${{ github.repository == 'louislam/uptime-kuma' }} |     if: ${{ github.repository == 'louislam/uptime-kuma' }} | ||||||
| @@ -77,7 +77,7 @@ jobs: | |||||||
|     - run: npm run lint:prod |     - run: npm run lint:prod | ||||||
|  |  | ||||||
|   e2e-test: |   e2e-test: | ||||||
|     needs: [ check-linters ] |     needs: [ ] | ||||||
|     runs-on: ARM64 |     runs-on: ARM64 | ||||||
|     steps: |     steps: | ||||||
|     - run: git config --global core.autocrlf false  # Mainly for Windows |     - run: git config --global core.autocrlf false  # Mainly for Windows | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user