mirror of
				https://github.com/threeal/cmake-action.git
				synced 2025-11-04 05:43:42 +00:00 
			
		
		
		
	build: separate check command to format and lint commands
				
					
				
			This commit is contained in:
		
							parent
							
								
									fe060731ea
								
							
						
					
					
						commit
						7dba94124b
					
				
							
								
								
									
										7
									
								
								.github/workflows/build.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								.github/workflows/build.yaml
									
									
									
									
										vendored
									
									
								
							@ -29,8 +29,11 @@ jobs:
 | 
				
			|||||||
      - name: Install Dependencies
 | 
					      - name: Install Dependencies
 | 
				
			||||||
        run: yarn install
 | 
					        run: yarn install
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Check Package
 | 
					      - name: Check Format
 | 
				
			||||||
        run: yarn check
 | 
					        run: yarn format
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      - name: Check Lint
 | 
				
			||||||
 | 
					        run: yarn lint
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Bundle Package
 | 
					      - name: Bundle Package
 | 
				
			||||||
        run: yarn bundle
 | 
					        run: yarn bundle
 | 
				
			||||||
 | 
				
			|||||||
@ -4,7 +4,8 @@
 | 
				
			|||||||
  "type": "module",
 | 
					  "type": "module",
 | 
				
			||||||
  "scripts": {
 | 
					  "scripts": {
 | 
				
			||||||
    "bundle": "tsc && ncc build dist/main.mjs -o main",
 | 
					    "bundle": "tsc && ncc build dist/main.mjs -o main",
 | 
				
			||||||
    "check": "prettier --write . !main !README.md && eslint --ignore-path .gitignore .",
 | 
					    "format": "prettier --write . !main !README.md",
 | 
				
			||||||
 | 
					    "lint": "eslint --ignore-path .gitignore .",
 | 
				
			||||||
    "test": "tsc && jest"
 | 
					    "test": "tsc && jest"
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  "dependencies": {
 | 
					  "dependencies": {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user