Skip to content

Commit 25b4edc

Browse files
authored
E2E: Create a custom post type and use wp-scripts. (#98)
1 parent 76d07f6 commit 25b4edc

File tree

6 files changed

+17955
-4101
lines changed

6 files changed

+17955
-4101
lines changed

.github/workflows/e2e.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,25 @@ jobs:
1414
- name: Setup Node.js
1515
uses: actions/setup-node@v4
1616
with:
17-
node-version-file: '.nvmrc'
17+
node-version-file: ".nvmrc"
1818
cache: "npm"
1919

2020
- name: Install dependencies
2121
run: |
2222
npm ci
2323
composer install --prefer-dist --no-progress
2424
25+
- name: Npm build
26+
run: npm run build
27+
2528
- name: Install wp-env
2629
run: npm install -g @wordpress/env
2730

2831
- name: Start wp-env
2932
run: wp-env start
3033

3134
- name: Install Playwright browsers
32-
run: npx playwright install --with-deps chromium
35+
run: npx playwright install --with-deps
3336

3437
- name: Run e2e tests
3538
run: npm run test:e2e

0 commit comments

Comments
 (0)