Skip to content

Bump @storybook/addon-actions from 6.5.9 to 7.6.4 #372

Bump @storybook/addon-actions from 6.5.9 to 7.6.4

Bump @storybook/addon-actions from 6.5.9 to 7.6.4 #372

Workflow file for this run

name: lighthouse
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
wait-for-vercel-deployment:
runs-on: ubuntu-18.04
steps:
- name: Get deployment URL
id: deployment
uses: schoenwaldnils/get-deployment-url@master
timeout-minutes: 10
with:
token: ${{ secrets.GITHUB_TOKEN }}
- uses: UnlyEd/github-action-await-vercel@v1.1.0
id: await-vercel
env:
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
with:
deployment-url: ${{ steps.deployment.outputs.deployment }}
timeout: 600 # Wait for 10 minutes before failing
- name: Display deployment status
run: 'echo The deployment at ${{ fromJson(steps.await-vercel.outputs.deploymentDetails).url }} is ${{ fromJson(steps.await-vercel.outputs.deploymentDetails).readyState }}'
lighthouse-check:
runs-on: ubuntu-latest
needs: [wait-for-vercel-deployment]
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Get deployment URL
id: deployment
uses: dorshinar/get-deployment-url@master
timeout-minutes: 5
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Run Lighthouse
uses: foo-software/lighthouse-check-action@v1.0.10
id: lighthouseCheck
with:
accessToken: ${{ secrets.GITHUB_TOKEN }}
author: ${{ github.actor }}
awsBucket: ${{ secrets.AWS_S3_BUCKET_LIGHTHOUSE }}
awsRegion: 'eu-central-1'
awsAccessKeyId: ${{ secrets.AWS_ACCESS_KEY_ID }}
awsSecretAccessKey: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
branch: ${{ github.ref }}
urls: ${{ steps.deployment.outputs.deployment }}
sha: ${{ github.sha }}
- name: Handle Lighthouse Check results
uses: foo-software/lighthouse-check-status-action@master
with:
lighthouseCheckResults: ${{ steps.lighthouseCheck.outputs.lighthouseCheckResults }}
minAccessibilityScore: '90'
minBestPracticesScore: '50'
minPerformanceScore: '70'
minProgressiveWebAppScore: '50'
minSeoScore: '50'