Skip to content

Commit

Permalink
wip: Skip Lighthouse step
Browse files Browse the repository at this point in the history
  • Loading branch information
flozia committed Jan 15, 2025
1 parent 4dd2c01 commit 802e36c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/lighthouse_cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,16 @@ on:
environment:
description: 'Environment to run LHCI against'
required: false
default: 'prod'
default: 'stage'
type: choice
options:
- stage
- prod
jobs:
lhci:
name: Lighthouse Report - ${{ inputs.environment != null && inputs.environment || 'prod' }}
name: Lighthouse Report - ${{ inputs.environment != null && inputs.environment || 'stage' }}
runs-on: ubuntu-latest
environment: ${{ inputs.environment != null && inputs.environment || 'stage' }}
permissions:
contents: read
id-token: write
Expand Down
2 changes: 1 addition & 1 deletion src/scripts/cronjobs/reportLighthouseResults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ async function run() {
console.table(transformedData);
logger.info("lighthouse_report", lighthouseReport);

const results = getLighthouseResults();
const results = await getLighthouseResults();
console.info("BigQuery dataset", results);
}

Expand Down

0 comments on commit 802e36c

Please sign in to comment.