biomejs / biome

A toolchain for web projects, aimed to provide functionalities to maintain them. Biome offers formatter and linter, usable via CLI and LSP.

Home Page:https://biomejs.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ› `biome ci` passes locally on macOS but fails on Linux on CI (GHA)

paambaati opened this issue Β· comments

commented

Environment information

CLI:
  Version:                      1.8.0
  Color support:                true

Platform:
  CPU Architecture:             aarch64
  OS:                           macos

Environment:
  BIOME_LOG_DIR:                unset
  NO_COLOR:                     unset
  TERM:                         "xterm-256color"
  JS_RUNTIME_VERSION:           "v22.2.0"
  JS_RUNTIME_NAME:              "node"
  NODE_PACKAGE_MANAGER:         "pnpm/9.2.0"

Biome Configuration:
  Status:                       Loaded successfully
  Formatter disabled:           false
  Linter disabled:              false
  Organize imports disabled:    false
  VCS disabled:                 true

Workspace:
  Open Documents:               0

What happened?

  1. Clone repo & branch from paambaati/codeclimate-action#753
  2. Install dependencies with pnpm i
  3. Run pnpm run biome:ci to execute biome ci – see no errors.
  4. Run the same command on CI (GHA) and see errors like this – https://github.com/paambaati/codeclimate-action/actions/runs/9396406706/job/25877523964?pr=753

Expected result

I expect biome ci to behave the same on all OSes.

Code of Conduct

  • I agree to follow Biome's Code of Conduct

I can't replicate it. I checked out your repository and branch, run pnpm ci locally and I got this:

Screenshot 2024-06-06 at 09 42 02