-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (34 loc) · 879 Bytes
/
vrt.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Playwright Tests
on:
push:
branches: [ main ]
pull_request:
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- uses: denoland/setup-deno@v1
- uses: actions/setup-node@v4
with:
node-version: 18
- name: Install dependencies Prepare
run: |
cd e2e
yarn install
yarn playwright install --with-deps
- name: run server
run: |
deno run --allow-net --allow-read --allow-write --allow-env --allow-run --unstable server.ts &
sleep 20
- name: Run Playwright tests
run: |
cd e2e
yarn playwright test
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: e2e/playwright-report/
retention-days: 30