Skip to content

Bug: mode: cli for Playwright not recognized during gh aw compile #30088

Closed

Description

@arthurfvives

The documentation recommends using mode: cli for Playwright:
https://github.github.com/gh-aw/reference/playwright/#cli-mode-recommended

However, when I follow this recommendation, compilation fails with an error.


Environment

  • gh aw version: v0.71.1

Steps to Reproduce

  1. Configure a workflow using:

    tools:
      playwright:
        mode: cli
  2. Run:

    gh aw compile docs-playwright-tests

Actual Result

Compilation fails with:

✗ Compiled 1 workflow(s): 1 error(s), 0 warning(s)

✗ Failed workflows:
  ✗ docs-playwright-tests.md

.github\workflows\docs-playwright-tests.md:66:5: error: Unknown property: mode. Valid fields are: args, version. 'mode' belongs under 'tools/github'
63 | 
64 | tools:
65 |   playwright:
66 |     mode: cli
         ^^^^
67 |   bash:
68 |     - "npm *"
69 |     - "npx serve *"

Expected Result

mode: cli should be accepted under tools.playwright as described in the documentation, or the documentation should clarify the correct configuration.

Activity

  1. locked and limited conversation to collaborators on May 4, 2026
  2. unlocked this conversation on May 4, 2026
  3. arthurfvives commented on May 5, 2026

    @arthurfvives
    Author

    After upgrading to v0.71.4, compilation works.

  4. locked and limited conversation to collaborators on May 5, 2026
  5. unlocked this conversation on May 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions