Skip to content

chore(deps): update dependency lint-staged to v14 - autoclosed #3290

chore(deps): update dependency lint-staged to v14 - autoclosed

chore(deps): update dependency lint-staged to v14 - autoclosed #3290

Workflow file for this run

name: Lighthouse
on:
pull_request:
paths-ignore:
- 'content/**/*.md'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16.x
# Build needs around 400 seconds on Netlify.
# We can not rely on "Waiting for 200", since the user
# might push another commit to an existing PR, meaning
# the deploy preview is already online.
- name: Sleep 400 seconds
run: sleep 400
- name: Waiting for 200 from the Netlify Preview
uses: jakepartusch/wait-for-netlify-action@v1
id: wait-for-netflify-preview
with:
site_name: 'docs-nestjs'
max_timeout: 600
- name: Run Lighthouse on urls and validate with lighthouserc
uses: treosh/lighthouse-ci-action@v8
with:
urls: |
${{ steps.wait-for-netflify-preview.outputs.url }}
${{ steps.wait-for-netflify-preview.outputs.url }}/first-steps
runs: 5
configPath: './lighthouserc.json'
uploadArtifacts: true
temporaryPublicStorage: true