-
-
Notifications
You must be signed in to change notification settings - Fork 32
36 lines (33 loc) · 1.04 KB
/
test_e2e.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
name: "Playwright: e2e Tests"
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
# Force terminal colors. @see https://www.npmjs.com/package/colors
FORCE_COLOR: 1
FLAKINESS_CONNECTION_STRING: ${{ secrets.FLAKINESS_CONNECTION_STRING }}
jobs:
run_tests:
runs-on: macos-latest
steps:
- name: Print job info
run: |
echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
node --version
- name: Check out repository code
uses: actions/checkout@v2
- name: Install dependencies
run: |
yarn install
yarn playwright install-deps chromium
npx replayio install
- name: Run e2e tests
run: ./run_e2e_tests.js
env:
REPLAY_API_KEY: ${{ secrets.REPLAY_API_KEY }}