Skip to content

Commit 3cbaa52

Browse files
authored
Merge pull request #220 from codeunia-dev/production-readiness-improvements
fix: Resolve Lighthouse CI build and GitHub token issues
2 parents fcf93cc + a595a80 commit 3cbaa52

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/ci-cd.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -594,6 +594,7 @@ jobs:
594594
env:
595595
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
596596
LHCI_TOKEN: ${{ secrets.LHCI_TOKEN }}
597+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
597598

598599
- name: Upload performance results
599600
uses: actions/upload-artifact@v4

lighthouserc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module.exports = {
99
'http://localhost:3000/auth/signin',
1010
'http://localhost:3000/protected/dashboard'
1111
],
12-
startServerCommand: 'npm run start',
12+
startServerCommand: 'npm run build && npm run start',
1313
startServerReadyPattern: 'ready on',
1414
startServerReadyTimeout: 30000,
1515
numberOfRuns: 3,

0 commit comments

Comments
 (0)