Skip to content

Repo: Prettier tooling still runs yarn 1's --ignore-scripts #7513

Closed
@JoshuaKGoldberg

Description

@JoshuaKGoldberg

Suggestion

We've had two PRs come in recently that touch repository tooling:

  1. chore: properly checkout repo in prettier-update workflow #7483
  2. chore: upgrade to yarn 3 #6162

...and now the Prettier Update task is failing. Example from #7496 -> https://github.com/typescript-eslint/typescript-eslint/actions/runs/5919889475/job/16050593946?pr=7496:

Run yarn --ignore-scripts
Unknown Syntax Error: Unsupported option name ("--ignore-scripts").

I believe per https://yarnpkg.com/cli/install that --skip-build is Yarn 3's equivalent of --ignore-script?

FWIW neither PR did anything incorrect or wrong. Just one of those fun merge situations.

FYI @auvred @JamesHenry - I can send a PR soon if you don't have time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    accepting prsGo ahead, send a pull request that resolves this issuebugSomething isn't workingrepo maintenancethings to do with maintenance of the repo, and not with code/docs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions