Skip to content

Commit

Permalink
Fix ci scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
marshallku committed Feb 26, 2024
1 parent f54aed2 commit 3f4f03a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ jobs:
env:
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
run: |
pnpm build --filter @marshallku/blog
cd apps/blog
pnpm build
pnpm add -G @lhci/cli
npm i -g @lhci/cli
lhci autorun
send-notification:
needs: [check-spelling, lint-all, build-all]
needs: [check-spelling, lint-all, build-all, lighthouse]
if: ${{ failure() }}
uses: marshallku/actions/.github/workflows/send-notification.yml@master
with:
Expand Down
2 changes: 1 addition & 1 deletion apps/blog/lighthouserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"ci": {
"collect": {
"startServerCommand": "pnpm start --filter @marshallku/blog",
"startServerReadyPattern": "ready on",
"startServerReadyPattern": "Ready in",
"url": ["http://localhost:3000"],
"numberOfRuns": 5,
"settings": {
Expand Down

0 comments on commit 3f4f03a

Please sign in to comment.