-
Notifications
You must be signed in to change notification settings - Fork 77
41 lines (35 loc) · 1.07 KB
/
e2e-certifier.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
name: 'End-to-end certifier'
on:
workflow_dispatch:
inputs:
environment:
description: The environment in which to run the job
default: dev
region:
description: The region in which to run the job
default: us-east-1
package:
description: The package name
job:
description: The name of the job (as defined in the deployment config)
# TEMPORARY: Remove this trigger before merging
push:
branches:
- JSUI-3538-add-e2e-certifier
jobs:
test-job:
runs-on: ubuntu--latest
steps:
- name: Deploy JSUI beta version on Netlify
run: curl --request POST https://api.netlify.com/build_hooks/${{ secrets.NETLIFY_BUILD_HOOK_ID }}
- name: Checkout repository
uses: actions/checkout@v2
- name: Install test dependencies
run: |
cd ${{ github.workspace }}/playwright
npm install
npx playwright install --with-deps
- name: Run tests
run: |
cd ${{ github.workspace }}/playwright
npx playwright test