mirror of
				https://github.com/pure-admin/vue-pure-admin.git
				synced 2025-11-03 13:44:47 +08:00 
			
		
		
		
	workflow: update linter.yml
This commit is contained in:
		
							parent
							
								
									9f8cc651bc
								
							
						
					
					
						commit
						c10511b1a0
					
				
							
								
								
									
										24
									
								
								.github/workflows/linter.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										24
									
								
								.github/workflows/linter.yml
									
									
									
									
										vendored
									
									
								
							@ -4,7 +4,7 @@
 | 
			
		||||
## Super Linter GitHub Actions ##
 | 
			
		||||
#################################
 | 
			
		||||
#################################
 | 
			
		||||
name: Lint Code Base
 | 
			
		||||
name: Lint Code
 | 
			
		||||
 | 
			
		||||
#
 | 
			
		||||
# Documentation:
 | 
			
		||||
@ -27,7 +27,7 @@ on:
 | 
			
		||||
jobs:
 | 
			
		||||
  build:
 | 
			
		||||
    # Name the Job
 | 
			
		||||
    name: Lint Code Base
 | 
			
		||||
    name: Lint Code
 | 
			
		||||
    # Set the agent to run on
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
 | 
			
		||||
@ -36,25 +36,9 @@ jobs:
 | 
			
		||||
    ##################
 | 
			
		||||
    steps:
 | 
			
		||||
      ##########################
 | 
			
		||||
      # Checkout the code base #
 | 
			
		||||
      #   Checkout the code    #
 | 
			
		||||
      ##########################
 | 
			
		||||
      - 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:
 | 
			
		||||
          VALIDATE_ALL_CODEBASE: false
 | 
			
		||||
          DEFAULT_BRANCH: main
 | 
			
		||||
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
 | 
			
		||||
 | 
			
		||||
      - name: Build
 | 
			
		||||
      - name: Lint
 | 
			
		||||
        run: |
 | 
			
		||||
          yarn install
 | 
			
		||||
          yarn lint
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user