ci: disable format job

As it's not picking up the ignored list
This commit is contained in:
George Cushen 2021-01-09 19:50:24 +00:00
commit 9c997e60d7

View file

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