Skip to content

Commit 12ffd91

Browse files
committed
Update playwright.yml
1 parent 660bcad commit 12ffd91

File tree

1 file changed

+8
-15
lines changed

1 file changed

+8
-15
lines changed

.github/workflows/playwright.yml

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,29 +7,22 @@ on:
77
jobs:
88
test:
99
timeout-minutes: 60
10-
runs-on: ubuntu-latest
10+
runs-on: windows-latest
1111
steps:
1212
- uses: actions/checkout@v4
13-
- uses: pnpm/action-setup@v2
14-
with:
15-
version: 9
1613
- uses: actions/setup-node@v4
1714
with:
18-
node-version: 20
19-
cache: 'pnpm'
15+
node-version: 18
2016
- name: Install dependencies
21-
run: pnpm install
17+
run: npm ci
2218
- name: Install Playwright Browsers
23-
run: pnpm exec playwright install --with-deps chromium firefox
24-
- name: Build the project
25-
run: pnpm build
26-
- name: Start the application
27-
run: pnpm start &
28-
- name: Wait for the application to be ready
29-
run: |
30-
npx wait-on http://localhost:3000
19+
run: npx playwright install --with-deps
3120
- name: Run Playwright tests
21+
<<<<<<< HEAD
3222
run: pnpm exec playwright test
23+
=======
24+
run: npx playwright test
25+
>>>>>>> parent of 6c737a9 (Update playwright.yml)
3326
env:
3427
CI: true
3528
NEXT_PUBLIC_GRAPHQL_URL: ${{ secrets.NEXT_PUBLIC_GRAPHQL_URL }}

0 commit comments

Comments
 (0)