Skip to content

Commit 6bac5d5

Browse files
committed
gh actions
1 parent 8ba34b2 commit 6bac5d5

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/tests.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Playwright Tests for WordPress
2+
on:
3+
push:
4+
pull_request:
5+
6+
jobs:
7+
playwright-tests:
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- name: Checkout Repository
12+
uses: actions/checkout@v4
13+
14+
- name: Set up Node.js
15+
uses: actions/setup-node@v4
16+
with:
17+
node-version: 18
18+
19+
- name: Install Dependencies
20+
run: npm install
21+
22+
- name: Install Playwright Browsers
23+
run: npx playwright install --with-deps
24+
25+
# - name: Run Playwright Tests
26+
# env:
27+
# BASE_URL: https://your-wordpress-site.com
28+
# run: npx playwright test

0 commit comments

Comments
 (0)