mirror of
				https://github.com/pure-admin/vue-pure-admin.git
				synced 2025-11-03 13:44:47 +08:00 
			
		
		
		
	workflow: update linter.yml open Allow all actions
This commit is contained in:
		
							parent
							
								
									ababf2d29e
								
							
						
					
					
						commit
						8458d5d37b
					
				
							
								
								
									
										22
									
								
								.github/workflows/linter.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										22
									
								
								.github/workflows/linter.yml
									
									
									
									
										vendored
									
									
								
							@ -38,10 +38,24 @@ jobs:
 | 
				
			|||||||
      ##########################
 | 
					      ##########################
 | 
				
			||||||
      # Checkout the code base #
 | 
					      # Checkout the code base #
 | 
				
			||||||
      ##########################
 | 
					      ##########################
 | 
				
			||||||
      - name: Build
 | 
					      - name: Checkout Code
 | 
				
			||||||
 | 
					        uses: actions/checkout@v2
 | 
				
			||||||
 | 
					        with:
 | 
				
			||||||
 | 
					          # Full git history is needed to get a proper list of changed files within `super-linter`
 | 
				
			||||||
 | 
					          fetch-depth: 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      ################################
 | 
				
			||||||
 | 
					      # Run Linter against code base #
 | 
				
			||||||
 | 
					      ################################
 | 
				
			||||||
 | 
					      - name: Lint Code Base
 | 
				
			||||||
 | 
					        uses: github/super-linter@v4
 | 
				
			||||||
        env:
 | 
					        env:
 | 
				
			||||||
 | 
					          VALIDATE_ALL_CODEBASE: false
 | 
				
			||||||
 | 
					          DEFAULT_BRANCH: main
 | 
				
			||||||
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
 | 
					          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      - name: Build
 | 
				
			||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
          npm run install
 | 
					          yarn install
 | 
				
			||||||
          npm run lint
 | 
					          yarn lint
 | 
				
			||||||
          npm run build
 | 
					          yarn run build
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user