chore(deps): update all non-major dependencies #3247
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: | |
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 |