prettier-plugin-organize-imports icon indicating copy to clipboard operation
prettier-plugin-organize-imports copied to clipboard

Adding this plugin breaks github actions

Open pitis opened this issue 6 months ago • 2 comments

Hello there, I've been using this module for a long time, but now when I upgraded to prettier 3.1.0 and to 3.2.4 of this package, everything works fine but on github actions. For reference, my .prettierrc:

{
  "semi": false,
  "singleQuote": true,
  "trailingComma": "es5",
  "plugins": ["prettier-plugin-organize-imports"]
}

and my github action

name: static checks

on:
  pull_request:
  push:
    branches:
      - main

concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: true

jobs:
  static-checks:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-node@v2
        with:
          node-version: '20'
          cache: 'npm'
      - run: npm i
      - run: npm run format:check
      - run: npm run lint

this all worked fine before and also works fine if I remove the plugins array

pitis avatar Nov 30 '23 02:11 pitis