Skip to content

Commit 34f9671

Browse files
committed
test: update workflow
1 parent befbdb3 commit 34f9671

File tree

2 files changed

+6
-27408
lines changed

2 files changed

+6
-27408
lines changed

.github/workflows/e2e-test.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,8 @@ on:
1313
- "plugins/hwp-previews/**"
1414

1515
jobs:
16-
playwright-tests:
16+
playwright-e2e-tests:
1717
runs-on: ubuntu-24.04
18-
defaults:
19-
run:
20-
working-directory: plugins/hwp-previews
2118

2219
steps:
2320
- name: Checkout code
@@ -34,16 +31,21 @@ jobs:
3431

3532
- name: Install composer
3633
run: composer install
34+
working-directory: plugins/hwp-previews
3735

3836
- name: Install playwright browsers
3937
run: npx playwright install --with-deps
38+
working-directory: plugins/hwp-previews
4039

4140
- name: Start wp-env
4241
run: |
4342
npm run wp-env start
43+
working-directory: plugins/hwp-previews
4444

4545
- name: Run Playwright tests
4646
run: npm run test:e2e
47+
working-directory: plugins/hwp-previews
4748

4849
- name: Stop wp-env
4950
run: npm run wp-env stop
51+
working-directory: plugins/hwp-previews

0 commit comments

Comments
 (0)