Browse Source

ci: disable format job

As it's not picking up the ignored list
George Cushen 4 years ago
parent
commit
9c997e60d7
1 changed files with 18 additions and 18 deletions
  1. 18 18
      .github/workflows/build-test-site.yaml

+ 18 - 18
.github/workflows/build-test-site.yaml

@@ -40,24 +40,24 @@ jobs:
         run: yarn run lint:js
         working-directory: ./wowchemy
 
-  format:
-    runs-on: ubuntu-latest
-
-    steps:
-      - name: Checkout
-        uses: actions/checkout@v2
-        with:
-          # Make sure the actual branch is checked out when running on pull requests
-          ref: ${{ github.head_ref }}
-
-      - name: Prettify code
-        uses: creyD/prettier_action@v3.1
-        with:
-          prettier_options: '--write wowchemy/*.{css,js,json,md,scss} wowchemy/**/*.{css,js,json,md,scss}' # Match package.json
-          prettier_version: '2.2.1' # Match package.json
-          commit_message: 'refactor: format code'
-        env:
-          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+#  format:
+#    runs-on: ubuntu-latest
+#
+#    steps:
+#      - name: Checkout
+#        uses: actions/checkout@v2
+#        with:
+#          # Make sure the actual branch is checked out when running on pull requests
+#          ref: ${{ github.head_ref }}
+#
+#      - name: Prettify code
+#        uses: creyD/prettier_action@v3.1
+#        with:
+#          prettier_options: '--write wowchemy/*.{css,js,json,md,scss} wowchemy/**/*.{css,js,json,md,scss}' # Match package.json
+#          prettier_version: '2.2.1' # Match package.json
+#          commit_message: 'refactor: format code'
+#        env:
+#          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
 
   hugo:
     runs-on: ubuntu-latest