Skip to content

Merge pull request #21 from Mapuppy09/dependabot/npm_and_yarn/multi-8… #35

Merge pull request #21 from Mapuppy09/dependabot/npm_and_yarn/multi-8…

Merge pull request #21 from Mapuppy09/dependabot/npm_and_yarn/multi-8… #35

Workflow file for this run

name: Lighthouse
on:
push:
branches:
- master
pull_request:
jobs:
lhci:
if: ${{ !contains(github.event.pull_request.title, '[skip test]') }}
name: Lighthouse Desktop
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: npm install, build
run: |
npm install
npm run build
- name: run Lighthouse CI
run: |
npm install -g @lhci/cli@0.10.x
lhci autorun
- name: upload artifacts
if: failure()
uses: actions/upload-artifact@v3
with:
name: Lighthouse reports
path: ${{ github.workspace }}/lighthouseReport
retention-days: 1