Skip to content

Commit 9abc618

Browse files
committed
Tests
1 parent b352151 commit 9abc618

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Install pnpm
2222
uses: pnpm/action-setup@v4
2323
with:
24-
version: 9
24+
version: 10
2525

2626
- name: Install Node.js LTS
2727
uses: actions/setup-node@v4

.github/workflows/tests.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,15 +90,21 @@ jobs:
9090
php -S localhost:8888 -t wordpress > /dev/null 2>&1 &
9191
sleep 5
9292
93+
- name: Install pnpm
94+
uses: pnpm/action-setup@v4
95+
with:
96+
version: 10
97+
9398
- name: Setup Node
9499
uses: actions/setup-node@v4
95100
with:
96-
node-version: 20
101+
node-version: lts/*
102+
cache: "pnpm"
97103

98104
- name: Install Playwright and dependencies
99105
run: |
100-
npm ci
101-
npx playwright install --with-deps
106+
pnpm install
107+
pnpx playwright install --with-deps
102108
103109
- name: Run Playwright tests
104110
run: npx playwright test

0 commit comments

Comments
 (0)