Merge pull request #109 from crazy-max/dev-deps
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				ci / multi-images (push) Successful in 6s
				
					
					
				
			
		
			
				
	
				ci / tag-schedule () (push) Successful in 7s
				
					
					
				
			
		
			
				
	
				ci / tag-schedule (cron-{{date 'YYYYMMDD'}}) (push) Successful in 7s
				
					
					
				
			
		
			
				
	
				ci / tag-schedule (schedule) (push) Successful in 7s
				
					
					
				
			
		
			
				
	
				ci / tag-schedule ({{date 'YYYYMMDD-HHmmss'}}) (push) Successful in 7s
				
					
					
				
			
		
			
				
	
				ci / tag-match (\d.\d, 0) (push) Successful in 7s
				
					
					
				
			
		
			
				
	
				ci / tag-match (\d.\d.\d, 0) (push) Successful in 7s
				
					
					
				
			
		
			
				
	
				ci / tag-match (v(.*), 1) (push) Successful in 7s
				
					
					
				
			
		
			
				
	
				ci / tag-semver (auto) (push) Successful in 7s
				
					
					
				
			
		
			
				
	
				ci / tag-semver (false) (push) Successful in 6s
				
					
					
				
			
		
			
				
	
				ci / tag-semver (true) (push) Successful in 7s
				
					
					
				
			
		
			
				
	
				ci / flavor (push) Successful in 7s
				
					
					
				
			
		
			
				
	
				ci / labels (push) Successful in 7s
				
					
					
				
			
		
			
				
	
				ci / json (push) Successful in 7s
				
					
					
				
			
		
			
				
	
				ci / docker-push (push) Failing after 17s
				
					
					
				
			
		
			
				
	
				ci / bake (push) Failing after 10s
				
					
					
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	ci / multi-images (push) Successful in 6s
				ci / tag-schedule () (push) Successful in 7s
				ci / tag-schedule (cron-{{date 'YYYYMMDD'}}) (push) Successful in 7s
				ci / tag-schedule (schedule) (push) Successful in 7s
				ci / tag-schedule ({{date 'YYYYMMDD-HHmmss'}}) (push) Successful in 7s
				ci / tag-match (\d.\d, 0) (push) Successful in 7s
				ci / tag-match (\d.\d.\d, 0) (push) Successful in 7s
				ci / tag-match (v(.*), 1) (push) Successful in 7s
				ci / tag-semver (auto) (push) Successful in 7s
				ci / tag-semver (false) (push) Successful in 6s
				ci / tag-semver (true) (push) Successful in 7s
				ci / flavor (push) Successful in 7s
				ci / labels (push) Successful in 7s
				ci / json (push) Successful in 7s
				ci / docker-push (push) Failing after 17s
				ci / bake (push) Failing after 10s
				Update dev deps
This commit is contained in:
		
						commit
						f6efe56d56
					
				| @ -1,11 +1,9 @@ | ||||
| import * as path from 'path'; | ||||
| import * as github from '../src/github'; | ||||
| 
 | ||||
| jest.spyOn(github, 'repo').mockImplementation( | ||||
|   (): Promise<github.ReposGetResponseData> => { | ||||
|     return <Promise<github.ReposGetResponseData>>require(path.join(__dirname, 'fixtures', 'repo.json')); | ||||
|   } | ||||
| ); | ||||
| jest.spyOn(github, 'repo').mockImplementation((): Promise<github.ReposGetResponseData> => { | ||||
|   return <Promise<github.ReposGetResponseData>>require(path.join(__dirname, 'fixtures', 'repo.json')); | ||||
| }); | ||||
| 
 | ||||
| describe('repo', () => { | ||||
|   it('returns GitHub repository', async () => { | ||||
|  | ||||
| @ -7,17 +7,13 @@ import * as github from '../src/github'; | ||||
| import {Meta, Version} from '../src/meta'; | ||||
| import {Context} from '@actions/github/lib/context'; | ||||
| 
 | ||||
| jest.spyOn(github, 'repo').mockImplementation( | ||||
|   (): Promise<github.ReposGetResponseData> => { | ||||
|     return <Promise<github.ReposGetResponseData>>require(path.join(__dirname, 'fixtures', 'repo.json')); | ||||
|   } | ||||
| ); | ||||
| jest.spyOn(github, 'repo').mockImplementation((): Promise<github.ReposGetResponseData> => { | ||||
|   return <Promise<github.ReposGetResponseData>>require(path.join(__dirname, 'fixtures', 'repo.json')); | ||||
| }); | ||||
| 
 | ||||
| jest.spyOn(github, 'context').mockImplementation( | ||||
|   (): Context => { | ||||
|     return new Context(); | ||||
|   } | ||||
| ); | ||||
| jest.spyOn(github, 'context').mockImplementation((): Context => { | ||||
|   return new Context(); | ||||
| }); | ||||
| 
 | ||||
| jest.spyOn(global.Date.prototype, 'toISOString').mockImplementation(() => { | ||||
|   return '2020-01-10T00:30:00.000Z'; | ||||
|  | ||||
							
								
								
									
										2336
									
								
								dist/index.js
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2336
									
								
								dist/index.js
									
									
									
										generated
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										20
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										20
									
								
								package.json
									
									
									
									
									
								
							| @ -38,15 +38,15 @@ | ||||
|     "semver": "^7.3.5" | ||||
|   }, | ||||
|   "devDependencies": { | ||||
|     "@types/jest": "^26.0.0", | ||||
|     "@types/node": "^14.11.2", | ||||
|     "@vercel/ncc": "^0.24.1", | ||||
|     "dotenv": "^8.2.0", | ||||
|     "jest": "^26.0.1", | ||||
|     "jest-circus": "^26.0.1", | ||||
|     "jest-runtime": "^26.0.1", | ||||
|     "prettier": "^2.0.4", | ||||
|     "ts-jest": "^26.4.1", | ||||
|     "typescript": "^4.0.3" | ||||
|     "@types/jest": "^26.0.23", | ||||
|     "@types/node": "^14.17.4", | ||||
|     "@vercel/ncc": "^0.28.6", | ||||
|     "dotenv": "^8.6.0", | ||||
|     "jest": "^26.6.3", | ||||
|     "jest-circus": "^26.6.3", | ||||
|     "jest-runtime": "^26.6.3", | ||||
|     "prettier": "^2.3.2", | ||||
|     "ts-jest": "^26.5.6", | ||||
|     "typescript": "^4.3.5" | ||||
|   } | ||||
| } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 CrazyMax
						CrazyMax