Skip to content

display image when video cannot be loaded #293

display image when video cannot be loaded

display image when video cannot be loaded #293

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node.js CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci --legacy-peer-deps
- run: npm run build --if-present
# - run: npm test
- name: run Lighthouse CI
run: |
npm install -g @lhci/cli@0.5.x
lhci autorun --upload.target=temporary-public-storage --collect.staticDistDir=./packages/frontend/dist || echo "LHCI failed!"