Skip to content

Commit

Permalink
Add lighthouseci to github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
johanbissemattsson committed Jun 14, 2024
1 parent 6734687 commit f6b47cc
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/lxl-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,29 @@ jobs:
name: playwright-report
path: playwright-report/
retention-days: 30
lighthouseci:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./lxl-web
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- name: Setup yarn
run: npm install -g yarn
- name: Install lxljs dependency
run: yarn install --frozen-lockfile
working-directory: ./lxlj s
- name: Install dependencies
run: npm ci
- name: Build
env:
API_URL: ${{ secrets.API_URL }}
ID_URL: ${{ secrets.ID_URL }}
run: npm run build
- name: run Lighthouse CI
run: |
npm install -g @lhci/[email protected]
lhci autorun

0 comments on commit f6b47cc

Please sign in to comment.