Skip to content

Commit

Permalink
Modify steps of lighthouse pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
marshallku committed Feb 26, 2024
1 parent 98cd62a commit 1cd18e4
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,16 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: marshallku/actions/setup-pnpm@master
- name: Build app
run: |
cp apps/blog/.env.example apps/blog/.env
pnpm build --filter @marshallku/blog
cp apps/blog/.next/static apps/blog/.next/standalone/apps/blog/.next -r
cp apps/blog/public apps/blog/.next/standalone/apps/blog/ -r
- name: Run Lighthouse CI
env:
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
run: |
mv apps/blog/.env.example apps/blog/.env
pnpm build --filter @marshallku/blog
cd apps/blog
cp .next/static .next/standalone/apps/blog/.next -r
cp public .next/standalone/apps/blog/ -r
npm i -g @lhci/cli
lhci autorun
send-notification:
Expand Down

0 comments on commit 1cd18e4

Please sign in to comment.