Skip to content

Deduplicate npm installs in Playwright workflow #559

Description

@gkorland

Parent issue

Part of #550 (CI Pipeline Optimization Analysis)

Problem

The Playwright workflow runs npm ci twice:

  1. For frontend dependencies (working-directory: ./app)
  2. For root dependencies / Playwright (npm ci at root level in the "Install Playwright" step)

Solution

Consolidate or restructure the npm installs. Options:

  • Install root + frontend deps in a single step
  • Move Playwright to the frontend package if appropriate
  • At minimum, ensure both are cached via setup-node with cache: 'npm'

Estimated savings

~5s per shard

Effort

Low

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions