-
Notifications
You must be signed in to change notification settings - Fork 52
60 lines (52 loc) · 1.78 KB
/
ci.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
48
49
50
51
52
53
54
55
56
57
58
59
60
# https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions
name: CI
on: [push]
jobs:
check_dawn:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- job_name: 'staff store, custom app login'
store: shimmering-islands.myshopify.com
app_id: ''
app_password: ''
access_token: SHOP_ACCESS_TOKEN
password: ''
- job_name: 'staff store, private app login'
store: shimmering-islands.myshopify.com
app_id: SHOP_APP_ID
app_password: SHOP_APP_PASSWORD
access_token: ''
password: ''
- job_name: 'dev store, custom app login'
store: cpclermont-dev-store.myshopify.com
app_id: ''
app_password: DEV_APP_PASSWORD
access_token: DEV_ACCESS_TOKEN
password: DEV_PASSWORD
- job_name: 'dev store, private app login'
store: cpclermont-dev-store.myshopify.com
app_id: DEV_APP_ID
app_password: DEV_APP_PASSWORD
access_token: ''
password: DEV_PASSWORD
name: ${{ matrix.job_name }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2
with:
repository: "shopify/dawn"
path: "./dawn"
- name: Lighthouse CI action
uses: ./
id: lighthouse-ci-action
with:
app_id: ${{ secrets[matrix.app_id] }}
app_password: ${{ secrets[matrix.app_password] }}
access_token: ${{ secrets[matrix.access_token] }}
store: ${{ matrix.store }}
password: ${{ secrets[matrix.password] }}
theme_root: "./dawn"
lhci_min_score_performance: 0.1
lhci_min_score_accessibility: 0.1