Skip to content

Commit

Permalink
Merge branch 'develop' into feat-lxl-web-implement-supersearch
Browse files Browse the repository at this point in the history
  • Loading branch information
johanbissemattsson authored Nov 6, 2024
2 parents f2f7541 + bad2240 commit 3daf51b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/lxl-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,17 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Build and run Lighthouse CI
shell: bash
env:
API_URL: ${{ secrets.API_URL }}
ID_URL: ${{ secrets.ID_URL }}
LHCI_SERVER_BASE_URL: ${{ secrets.LHCI_SERVER_BASE_URL }}
LHCI_TOKEN: ${{ secrets.LHCI_TOKEN }}
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
LHCI_SERVER_USERNAME: ${{ secrets.LHCI_SERVER_USERNAME }}
LHCI_SERVER_PASSWORD: ${{ secrets.LHCI_SERVER_PASSWORD }}
PUBLIC_USE_SUPERSEARCH: ${{ env.PUBLIC_USE_SUPERSEARCH }}
run: |
npm run build
npm install -g @lhci/cli@0.13.x
lhci autorun --upload.githubToken="$LHCI_GITHUB_TOKEN" || echo "LHCI failed!"
npm install -g @lhci/cli@0.14.0
lhci autorun --upload.target=lhci --upload.serverBaseUrl="$LHCI_SERVER_BASE_URL" --upload.token="$LHCI_TOKEN" --upload.githubToken="$LHCI_GITHUB_APP_TOKEN" --upload.basicAuth.username="$LHCI_SERVER_USERNAME" --upload.basicAuth.password="$LHCI_SERVER_PASSWORD" || echo "LHCI failed!"
1 change: 1 addition & 0 deletions lxl-web/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ node_modules
vite.config.js.timestamp-*
vite.config.ts.timestamp-*
/test-results
.lighthouseci/

0 comments on commit 3daf51b

Please sign in to comment.