File tree Expand file tree Collapse file tree 3 files changed +17
-7
lines changed
actions/frontend/marketing/ui-tests Expand file tree Collapse file tree 3 files changed +17
-7
lines changed Original file line number Diff line number Diff line change 51
51
path : frontend/apps/marketing/playwright-report
52
52
name : playwright-report
53
53
54
- - name : Run Google Lighthouse Audits
55
- uses : treosh/lighthouse-ci-action@2f8dda6cf4de7d73b29853c3f29e73a01e297bd8
56
- with :
57
- urls : ${{ inputs.MARKETING_BASE_URL || 'http://localhost:3001' }}/en-US/all-the-things
58
- uploadArtifacts : true
59
- temporaryPublicStorage : true
60
- configPath : ' ./frontend/apps/marketing/.lighthouserc.js'
Original file line number Diff line number Diff line change 19
19
- name : Generate Eyes Batch ID
20
20
run : echo "eyes-batch-id=$APPLITOOLS_BATCH_ID" >> $GITHUB_OUTPUT
21
21
22
+ - uses : dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
23
+ id : changes
24
+ with :
25
+ filters : |
26
+ component-library:
27
+ - 'frontend/packages/component-library/**'
28
+ - 'frontend/packages/component-library-styles/**'
29
+ - 'frontend/packages/fonts/**'
30
+
22
31
marketing :
23
32
needs : setup
24
33
uses : ./.github/workflows/orig-marketing-app-ci.yml
27
36
eyes-batch-id : ${{ needs.setup.outputs.eyes-batch-id }}
28
37
29
38
component-library :
39
+ if : ${{ needs.setup.changes.component-library == 'true' }}
30
40
needs : setup
31
41
uses : ./.github/workflows/component-library-ci.yml
32
42
secrets : inherit
Original file line number Diff line number Diff line change @@ -106,3 +106,10 @@ jobs:
106
106
APPLITOOLS_API_KEY : ${{ secrets.APPLITOOLS_API_KEY}}
107
107
APPLITOOLS_BATCH_ID : ${{ inputs.eyes-batch-id }}
108
108
109
+ - name : Run Google Lighthouse Audits
110
+ uses : treosh/lighthouse-ci-action@2f8dda6cf4de7d73b29853c3f29e73a01e297bd8
111
+ with :
112
+ urls : ${{ inputs.MARKETING_BASE_URL || 'http://localhost:3001' }}/en-US/all-the-things
113
+ uploadArtifacts : true
114
+ temporaryPublicStorage : true
115
+ configPath : ' ./frontend/apps/marketing/.lighthouserc.js'
You can’t perform that action at this time.
0 commit comments