Update codeql-analysis.yml
This commit is contained in:
		
							parent
							
								
									7e597d1d2d
								
							
						
					
					
						commit
						1d04404eaf
					
				
					 1 changed files with 20 additions and 5 deletions
				
			
		
							
								
								
									
										25
									
								
								.github/workflows/codeql-analysis.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										25
									
								
								.github/workflows/codeql-analysis.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
					@ -37,6 +37,22 @@ jobs:
 | 
				
			||||||
    - name: Checkout repository
 | 
					    - name: Checkout repository
 | 
				
			||||||
      uses: actions/checkout@v2
 | 
					      uses: actions/checkout@v2
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
 | 
					    - name: Setup Node.js environment
 | 
				
			||||||
 | 
					      uses: actions/setup-node@v2.1.2
 | 
				
			||||||
 | 
					      #with:
 | 
				
			||||||
 | 
					        # Set always-auth in npmrc
 | 
				
			||||||
 | 
					        #always-auth: # optional, default is false
 | 
				
			||||||
 | 
					        # Version Spec of the version to use.  Examples: 12.x, 10.15.1, >=10.15.0
 | 
				
			||||||
 | 
					        #node-version: # optional
 | 
				
			||||||
 | 
					        # Set this option if you want the action to check for the latest available version that satisfies the version spec
 | 
				
			||||||
 | 
					        #check-latest: # optional
 | 
				
			||||||
 | 
					        # Optional registry to set up for auth. Will set the registry in a project level .npmrc and .yarnrc file, and set up auth to read in from env.NODE_AUTH_TOKEN
 | 
				
			||||||
 | 
					        #registry-url: # optional
 | 
				
			||||||
 | 
					        # Optional scope for authenticating against scoped registries
 | 
				
			||||||
 | 
					        #scope: # optional
 | 
				
			||||||
 | 
					        # Used to pull node distributions from node-versions.  Since there's a default, this is typically not supplied by the user.
 | 
				
			||||||
 | 
					        #token: # optional, default is ${{ github.token }}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # Initializes the CodeQL tools for scanning.
 | 
					    # Initializes the CodeQL tools for scanning.
 | 
				
			||||||
    - name: Initialize CodeQL
 | 
					    - name: Initialize CodeQL
 | 
				
			||||||
      uses: github/codeql-action/init@v1
 | 
					      uses: github/codeql-action/init@v1
 | 
				
			||||||
| 
						 | 
					@ -49,8 +65,8 @@ jobs:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).
 | 
					    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).
 | 
				
			||||||
    # If this step fails, then you should remove it and run the build manually (see below)
 | 
					    # If this step fails, then you should remove it and run the build manually (see below)
 | 
				
			||||||
    - name: Autobuild
 | 
					    #- name: Autobuild
 | 
				
			||||||
      uses: github/codeql-action/autobuild@v1
 | 
					    #  uses: github/codeql-action/autobuild@v1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # ℹ️ Command-line programs to run using the OS shell.
 | 
					    # ℹ️ Command-line programs to run using the OS shell.
 | 
				
			||||||
    # 📚 https://git.io/JvXDl
 | 
					    # 📚 https://git.io/JvXDl
 | 
				
			||||||
| 
						 | 
					@ -59,9 +75,8 @@ jobs:
 | 
				
			||||||
    #    and modify them (or add more) to build your code if your project
 | 
					    #    and modify them (or add more) to build your code if your project
 | 
				
			||||||
    #    uses a compiled language
 | 
					    #    uses a compiled language
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    #- run: |
 | 
					    - run: |
 | 
				
			||||||
    #   make bootstrap
 | 
					       npm run build
 | 
				
			||||||
    #   make release
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    - name: Perform CodeQL Analysis
 | 
					    - name: Perform CodeQL Analysis
 | 
				
			||||||
      uses: github/codeql-action/analyze@v1
 | 
					      uses: github/codeql-action/analyze@v1
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue