mirror of
				https://github.com/keanuplayz/TravBot-v3.git
				synced 2024-08-15 02:33:12 +00:00 
			
		
		
		
	Attempt to merge two workflows.
This commit is contained in:
		
							parent
							
								
									2e2bd57598
								
							
						
					
					
						commit
						c5baf34b7e
					
				
					 2 changed files with 29 additions and 41 deletions
				
			
		
							
								
								
									
										41
									
								
								.github/workflows/codeql-analysis.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										41
									
								
								.github/workflows/codeql-analysis.yml
									
										
									
									
										vendored
									
									
								
							|  | @ -1,41 +0,0 @@ | |||
| name: "CodeQL" | ||||
| 
 | ||||
| on: | ||||
|     push: | ||||
|         branches: [typescript] | ||||
|     pull_request: | ||||
|         branches: [typescript] | ||||
|     schedule: | ||||
|         - cron: "0 5 * * 1" | ||||
| 
 | ||||
| jobs: | ||||
|     analyze: | ||||
|         name: Analyze | ||||
|         runs-on: ubuntu-latest | ||||
| 
 | ||||
|         steps: | ||||
|             - name: Checkout repository | ||||
|               uses: actions/checkout@v2 | ||||
|               with: | ||||
|                   fetch-depth: 2 | ||||
| 
 | ||||
|             - run: git checkout HEAD^2 | ||||
|               if: ${{ github.event_name == 'pull_request' }} | ||||
| 
 | ||||
|             - name: Setup Node.JS | ||||
|               uses: actions/setup-node@v2-beta | ||||
|               with: | ||||
|                   node-version: "12" | ||||
|             - run: npm ci | ||||
| 
 | ||||
|             - name: Build codebase | ||||
|               run: npm run build | ||||
| 
 | ||||
|             - name: Initialize CodeQL | ||||
|               uses: github/codeql-action/init@v1 | ||||
|               with: | ||||
|                   config-file: ./.github/codeql/codeql-config.yml | ||||
|                   languages: javascript | ||||
| 
 | ||||
|             - name: Perform CodeQL Analysis | ||||
|               uses: github/codeql-action/analyze@v1 | ||||
							
								
								
									
										29
									
								
								.github/workflows/image.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										29
									
								
								.github/workflows/image.yml
									
										
									
									
										vendored
									
									
								
							|  | @ -6,7 +6,36 @@ on: | |||
|             - docker | ||||
| 
 | ||||
| jobs: | ||||
|     analyze: | ||||
|         name: Analyze | ||||
|         runs-on: ubuntu-latest | ||||
| 
 | ||||
|         steps: | ||||
|             - name: Checkout repository | ||||
|               uses: actions/checkout@v2 | ||||
|               with: | ||||
|                   fetch-depth: 2 | ||||
| 
 | ||||
|             - name: Setup Node.JS | ||||
|               uses: actions/setup-node@v2-beta | ||||
|               with: | ||||
|                   node-version: "12" | ||||
|             - run: npm ci | ||||
| 
 | ||||
|             - name: Build codebase | ||||
|               run: npm run build | ||||
| 
 | ||||
|             - name: Initialize CodeQL | ||||
|               uses: github/codeql-action/init@v1 | ||||
|               with: | ||||
|                   config-file: ./.github/codeql/codeql-config.yml | ||||
|                   languages: javascript | ||||
| 
 | ||||
|             - name: Perform CodeQL Analysis | ||||
|               uses: github/codeql-action/analyze@v1 | ||||
| 
 | ||||
|     build: | ||||
|         needs: analyze | ||||
|         runs-on: ubuntu-latest | ||||
|         steps: | ||||
|             - name: Checkout code | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue