You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running biome ci in GHA will always produce errors even when the formatter logs Checked 2 files in 1572µs. No fixes needed.. However, running biome ci locally does not see any errors.
In your workflow there's a command pnpm pkg delete scripts.postinstall which will format the package.json file in a way that each of the array entry is put into a separated line. And Biome later will in turn put them into a single line according to the lineWidth option.
You can add an override entry for the package.json file to set the lineWidth to 1 so the behavior of the Biome formatter aligns with the pnpm pkg ... command. Or you can ignore the file.
Environment information
Configuration
Actual result
Running
biome ci
in GHA will always produce errors even when the formatter logsChecked 2 files in 1572µs. No fixes needed.
. However, runningbiome ci
locally does not see any errors.Expected result
Running
biome ci
locally and in GHA should always produce identical and consistent result.Playground link
Instead of providing a playground which does not support JSON formatting, you should clone this public repo I created to reproduce the error.
biome ci
- linkRelated issues
biome ci
passes locally on macOS but fails on Linux on CI (GHA) #3087Code of Conduct
The text was updated successfully, but these errors were encountered: