This repository has been archived by the owner on Sep 8, 2024. It is now read-only.
chore(deps): update dependency @testing-library/vue to v8.1.0 - autoclosed #1928
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lighthouse | |
on: | |
push: | |
branches: | |
- 'main' | |
pull_request: | |
jobs: | |
lighthouse: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4 | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'yarn' | |
- name: Install dependencies 📦 | |
run: yarn install --immutable | |
- name: Run build | |
run: yarn run build | |
env: | |
# That way we can test pages that are normally hidden behind /login | |
VITE_REDIRECT_UNAUTHENTICATED: 'false' | |
- name: Install global dependencies | |
run: | | |
# renovate datasource=npm depName=http-server | |
HTTP_SERVER_VERSION=14.1.1 | |
npm install -g http-server@$HTTP_SERVER_VERSION | |
# renovate datasource=npm depName=@lhci/cli | |
LHCI_CLI_VERSION=0.14.0 | |
npm install -g @lhci/cli@$LHCI_CLI_VERSION | |
- name: Run Lighthouse tests | |
run: | | |
lhci autorun | |
env: | |
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }} |