-
Notifications
You must be signed in to change notification settings - Fork 65
47 lines (40 loc) · 1018 Bytes
/
web-e2e-test.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
38
39
40
41
42
43
44
45
46
47
name: Test web E2E
on:
pull_request:
paths:
- .github/workflows/web-e2e-test.yml
- src/**
- WebExample/**
merge_group:
branches:
- main
push:
branches:
- main
paths:
- .github/workflows/web-e2e-test.yml
- src/**
- WebExample/**
jobs:
test:
if: github.repository == 'Expensify/react-native-live-markdown'
runs-on: ubuntu-latest
concurrency:
group: web-e2e-test-${{ github.ref }}
cancel-in-progress: true
steps:
- name: Check out Git repository
uses: actions/checkout@v4
- name: Use Node.js 18
uses: actions/setup-node@v4
with:
node-version: 18
- name: Install node_modules
run: npm ci
- name: Install browsers
run: npx playwright install --with-deps
- name: Install dependencies for browsers
run: npx playwright install-deps
- name: Run Playwright tests
run: npm run test
working-directory: WebExample