Jaap Marcus 2 лет назад
Родитель
Сommit
a3d87711e2
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      .github/workflows/lint.yml

+ 3 - 3
.github/workflows/lint.yml

@@ -51,9 +51,6 @@ jobs:
       - name: Install Node packages
         run: npm ci --ignore-scripts
 
-      - name: Check formatting
-        run: npx prettier --check .
-
       - name: Apply formatting
         if: github.event_name == 'pull_request'
         run: npm run format
@@ -66,6 +63,9 @@ jobs:
           message: Apply Prettier formatting
           add: "."
 
+      - name: Check formatting
+        run: npx prettier --check .
+        
   eslint:
     name: ESLint
     runs-on: ubuntu-latest