Skip to content

Commit 8ef21e3

Browse files
committed
testing workflow
1 parent dcc5a5b commit 8ef21e3

File tree

3 files changed

+17
-7
lines changed

3 files changed

+17
-7
lines changed

.github/actions/frontend/marketing/ui-tests/action.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,3 @@ runs:
5151
path: frontend/apps/marketing/playwright-report
5252
name: playwright-report
5353

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'

.github/workflows/marketing-app-ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,15 @@ jobs:
1919
- name: Generate Eyes Batch ID
2020
run: echo "eyes-batch-id=$APPLITOOLS_BATCH_ID" >> $GITHUB_OUTPUT
2121

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+
2231
marketing:
2332
needs: setup
2433
uses: ./.github/workflows/orig-marketing-app-ci.yml
@@ -27,6 +36,7 @@ jobs:
2736
eyes-batch-id: ${{ needs.setup.outputs.eyes-batch-id }}
2837

2938
component-library:
39+
if: ${{ needs.setup.changes.component-library == 'true' }}
3040
needs: setup
3141
uses: ./.github/workflows/component-library-ci.yml
3242
secrets: inherit

.github/workflows/orig-marketing-app-ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,3 +106,10 @@ jobs:
106106
APPLITOOLS_API_KEY: ${{ secrets.APPLITOOLS_API_KEY}}
107107
APPLITOOLS_BATCH_ID: ${{ inputs.eyes-batch-id }}
108108

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'

0 commit comments

Comments
 (0)