Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
tommm2 committed Mar 26, 2024
1 parent 14216f3 commit 2789951
Showing 1 changed file with 22 additions and 3 deletions.
25 changes: 22 additions & 3 deletions .github/workflows/lighthouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,31 @@ jobs:
lighthouseci:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8

- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 19
- run: npm install -g pnpm && pnpm add -g @lhci/cli@0.13.x
- run: pnpm run build
- run: lhci autorun

- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 18

- name: Install dependencies
run: pnpm install

- name: Build packages
run: pnpm run build

- name: Run lighthouseci
run: lhci autorun
env:
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}

0 comments on commit 2789951

Please sign in to comment.