Skip to content

Fix CI dependency install step in test-and-build#91

Draft
Copilot wants to merge 4 commits into
betafrom
copilot/fix-test-and-build-job
Draft

Fix CI dependency install step in test-and-build#91
Copilot wants to merge 4 commits into
betafrom
copilot/fix-test-and-build-job

Conversation

Copilot AI commented Jun 18, 2026

Copy link
Copy Markdown

The test-and-build GitHub Actions job failed before typecheck/tests/build due to a broken dependency bootstrap command. The install step invoked a script path that required an existing Yarn node_modules state file and exited immediately.

  • Root cause

    • CI used yarn install:all:immutable, which was resolved through script execution and failed with:
      • Couldn't find the node_modules state file - running an install might help (findPackageLocation)
  • Workflow change

    • Replaced the single script invocation with explicit immutable installs at each workspace boundary:
      • root
      • server/
      • client/
  • Net effect

    • CI now performs lockfile-enforced installs directly, avoiding script bootstrap behavior that depends on pre-existing install state.
- name: Install dependencies from lockfiles
  run: |
    yarn install --immutable
    yarn --cwd server install --immutable
    yarn --cwd client install --immutable

Copilot AI changed the title [WIP] Fix failing GitHub Actions job 'test-and-build' Fix CI dependency install step in test-and-build Jun 18, 2026
Copilot AI requested a review from quntao-z June 18, 2026 03:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants