Skip to content

Commit b1d625b

Browse files
committed
Use simple-node-ci
1 parent b2665c1 commit b1d625b

File tree

1 file changed

+3
-18
lines changed

1 file changed

+3
-18
lines changed

.github/workflows/playwright.yml

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,14 @@
1-
name: Playwright Tests
1+
name: CI
22
on:
33
push:
44
branches: [ main ]
55
pull_request:
66
branches: [ main ]
77
jobs:
8-
test:
8+
ci:
99
timeout-minutes: 60
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v4
13-
- uses: actions/setup-node@v4
12+
- uses: andrehil/simple-node-ci@main
1413
with:
1514
node-version: lts/*
16-
- name: Install dependencies
17-
run: npm ci
18-
- name: Install Playwright Browsers
19-
run: npx playwright install --with-deps
20-
21-
- name: Run Playwright tests
22-
run: npm start & npm run test:pw
23-
24-
- uses: actions/upload-artifact@v4
25-
if: ${{ !cancelled() }}
26-
with:
27-
name: playwright-report
28-
path: playwright-report/
29-
retention-days: 30

0 commit comments

Comments
 (0)