diff --git a/.github/workflows/copilot-setup-steps.yml b/.github/workflows/copilot-setup-steps.yml index 0041788..47dad8c 100644 --- a/.github/workflows/copilot-setup-steps.yml +++ b/.github/workflows/copilot-setup-steps.yml @@ -35,3 +35,7 @@ jobs: - name: Install JavaScript dependencies working-directory: ./client run: npm ci + + - name: Install Playwright + working-directory: ./client + run: npx playwright install diff --git a/docs/1-copilot-coding-agent.md b/docs/1-copilot-coding-agent.md index 4981401..29349a5 100644 --- a/docs/1-copilot-coding-agent.md +++ b/docs/1-copilot-coding-agent.md @@ -49,8 +49,7 @@ jobs: runs-on: ubuntu-latest # Set the permissions to the lowest permissions possible needed for *your steps*. Copilot will be given its own token for its operations. permissions: - # If you want to clone the repository as part of your setup steps, for example to install dependencies, you'll need the `contents: read` permission. - # If you don't clone the repository in your setup steps, Copilot will do this for you automatically after the steps complete. + # If you want to clone the repository as part of your setup steps, for example to install dependencies, you'll need the `contents: read` permission. If you don't clone the repository in your setup steps, Copilot will do this for you automatically after the steps complete. contents: read steps: - name: Checkout code @@ -77,6 +76,10 @@ jobs: - name: Install JavaScript dependencies working-directory: ./client run: npm ci + + - name: Install Playwright + working-directory: ./client + run: npx playwright install ``` It looks like any other GitHub workflow file, but it has a few key points: