name: Prettier CI

# This action works with pull requests and pushes
on:
  pull_request:
  push:
    branches:
      # Push events on development branch
      - develop

jobs:
  prettier:
    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.ref }}

      - name: Prettify code
        uses: creyD/prettier_action@v3.3
        with:
          # This part is also where you can pass other options, for example:
          prettier_options: --write **/*.{css,dita*,json,md,scss,xml,yaml,yml}
          # Install Prettier XML plugin
          prettier_plugins: @prettier/plugin-xml
          # Runs the action in dry mode. Files wont get changed and the action fails if there are unprettified files.
          dry: true

name: Prettier CI

# This action works with pull requests and pushes
on:
  pull_request:
  push:
    branches:
      # Push events on development branch
      - develop

jobs:
  prettier:
    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.ref }}

      - name: Prettify code
        uses: creyD/prettier_action@v3.3
        with:
          # This part is also where you can pass other options, for example:
          prettier_options: --write **/*.{css,dita*,json,md,scss,xml,yaml,yml}
          # Install Prettier XML plugin
          prettier_plugins: '@prettier/plugin-xml'
          # Runs the action in dry mode. Files wont get changed and the action fails if there are unprettified files.
          dry: true

Fix syntax error in Prettier CI config
Fix syntax error in Prettier CI config

Signed-off-by: Roger Sheen <a61a1add71dadc74037ae5e44ee30713db9a7451@infotexture.net>
