dev: group in classes #15
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "Copilot Setup Steps" | |
| on: | |
| workflow_dispatch: | |
| push: | |
| paths: | |
| - .github/workflows/copilot-setup-steps.yml | |
| pull_request: | |
| paths: | |
| - .github/workflows/copilot-setup-steps.yml | |
| jobs: | |
| copilot-setup-steps: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| # You can define any steps you want, and they will run before the agent starts. | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: "20" | |
| cache: "npm" | |
| - name: Install Agent Browser | |
| run: | | |
| npm install -g agent-browser | |
| agent-browser install | |
| - name: Install NPM deps | |
| run: | | |
| npm ci | |
| npm install -g playwright-cli | |
| npx playwright install --with-deps chromium | |
| - name: Install composer deps | |
| run: composer install --no-dev | |
| - name: Install environment | |
| run: | | |
| npm run wp-env start |