mirror of
				https://github.com/actions/setup-node.git
				synced 2025-11-01 00:23:59 +08:00 
			
		
		
		
	rm __tests__/verify-no-unstaged-changes.sh
This commit is contained in:
		
							
								
								
									
										5
									
								
								.github/workflows/build-test.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								.github/workflows/build-test.yml
									
									
									
									
										vendored
									
									
								
							| @@ -26,7 +26,4 @@ jobs: | |||||||
|       - run: npm ci |       - run: npm ci | ||||||
|       - run: npm run build |       - run: npm run build | ||||||
|       - run: npm run format-check |       - run: npm run format-check | ||||||
|       - run: npm test |       - run: npm test | ||||||
|       - name: Verify no unstaged changes |  | ||||||
|         if: runner.os != 'windows' |  | ||||||
|         run: __tests__/verify-no-unstaged-changes.sh |  | ||||||
| @@ -1,17 +0,0 @@ | |||||||
| #!/bin/bash |  | ||||||
|  |  | ||||||
| if [[ "$(git status --porcelain)" != "" ]]; then |  | ||||||
|     echo ---------------------------------------- |  | ||||||
|     echo git status |  | ||||||
|     echo ---------------------------------------- |  | ||||||
|     git status |  | ||||||
|     echo ---------------------------------------- |  | ||||||
|     echo git diff |  | ||||||
|     echo ---------------------------------------- |  | ||||||
|     git diff |  | ||||||
|     echo ---------------------------------------- |  | ||||||
|     echo Troubleshooting |  | ||||||
|     echo ---------------------------------------- |  | ||||||
|     echo "::error::Unstaged changes detected. Locally try running: git clean -ffdx && npm ci && npm run pre-checkin" |  | ||||||
|     exit 1 |  | ||||||
| fi |  | ||||||
		Reference in New Issue
	
	Block a user
	 Brian Cristante
					Brian Cristante