Skip to content

Commit 2aeca6e

Browse files
dev: fix copilot setup php [skip ci] (#571)
1 parent e72f102 commit 2aeca6e

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

.github/workflows/copilot-setup-steps.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,18 @@ jobs:
2929
- name: Install NPM deps
3030
run: |
3131
npm ci
32+
- name: Install Playwright
33+
run: |
3234
npm install -g playwright-cli
3335
npx playwright install --with-deps chromium
36+
- name: Setup PHP with tools
37+
uses: shivammathur/setup-php@v2
38+
with:
39+
php-version: "8.1"
40+
extensions: xdebug, intl, mbstring, curl, gd
41+
tools: php-cs-fixer, phpunit, wp-cli, phpcs, mago, phpstan
3442
- name: Install composer deps
35-
run: composer install --no-dev
36-
- name: Install environment
43+
run: composer install --no-progress
44+
- name: Start the WordPress environment via wp-env
3745
run: |
3846
npm run wp-env start

0 commit comments

Comments
 (0)