Skip to content

[BUG] Problem running prettier in workflow #106

Open
@AbdullahShahzadd

Description

@AbdullahShahzadd

What exactly happened?
The following workflow configuration resulted in error: Problem running prettier with --check **/*.{js,ts,json,yaml,md}. I am uncertain if this is the right place to ask for help, so if somewhere else would be more appropriate please let me know.

on:
  pull_request:
  push:
    branches:
      - main

jobs:

  prettier:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v3
        with:
          ref: ${{ github.head_ref }}
          fetch-depth: 0

      - name: Prettify code
        uses: creyD/prettier_action@v4.2
        with:
          dry: True
          prettier_options: --check **/*.{js,ts,json,yaml,md}

What should've happened?
Should have resulted in a pass as it does locally and has done in the past.

How did it look?
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions