Skip to content

chore(deps): bump the npm-dependencies group with 4 updates #80

chore(deps): bump the npm-dependencies group with 4 updates

chore(deps): bump the npm-dependencies group with 4 updates #80

Workflow file for this run

name: Performance
on:
push:
branches:
- "main"
paths:
- "app/**"
- "i18n/**"
- "public/**"
- "nuxt.config.ts"
- "package.json"
- "package-lock.json"
- ".github/workflows/performance.yml"
pull_request:
paths:
- "app/**"
- "i18n/**"
- "public/**"
- "nuxt.config.ts"
- "package.json"
- "package-lock.json"
- ".github/workflows/performance.yml"
workflow_dispatch:
env:
NODE_VERSION: 22
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lighthouse:
name: Lighthouse
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout code
uses: actions/checkout@v7
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: ${{ env.NODE_VERSION }}
cache: npm
- name: Install dependencies
run: npm ci
- name: Build webapp
run: npm run generate
- name: Start preview server
run: |
npm run preview -w @nvisy/webapp &
npx wait-on http://localhost:3000 --timeout 60000
- name: Run Lighthouse CI
uses: treosh/lighthouse-ci-action@v12
with:
urls: |
http://localhost:3000
uploadArtifacts: true
artifactName: lighthouse-webapp-${{ github.run_id }}
temporaryPublicStorage: true