Create gh action - format #17
							
								
								
									
										6
									
								
								.github/workflows/prettier.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/prettier.yml
									
									
									
									
										vendored
									
									
								
							@ -9,9 +9,11 @@ jobs:
 | 
				
			|||||||
            - uses: actions/checkout@v2
 | 
					            - uses: actions/checkout@v2
 | 
				
			||||||
              with:
 | 
					              with:
 | 
				
			||||||
                  ref: ${{ github.head_ref }}
 | 
					                  ref: ${{ github.head_ref }}
 | 
				
			||||||
            - uses: actionsx/prettier@v2
 | 
					            - uses: actions/setup-node@v1
 | 
				
			||||||
              with:
 | 
					              with:
 | 
				
			||||||
                  args: --write .
 | 
					                  node-version: "18.x"
 | 
				
			||||||
 | 
					            - run: npm ci
 | 
				
			||||||
 | 
					            - run: npm run prettier
 | 
				
			||||||
            - name: Commit changes
 | 
					            - name: Commit changes
 | 
				
			||||||
              uses: stefanzweifel/git-auto-commit-action@v4.1.2
 | 
					              uses: stefanzweifel/git-auto-commit-action@v4.1.2
 | 
				
			||||||
              with:
 | 
					              with:
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user