chore: Change idle time unavailable message if metrics not found #1182
Workflow file for this run
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
# SPDX-FileCopyrightText: Copyright DB InfraGO AG and contributors | |
# SPDX-License-Identifier: CC0-1.0 | |
name: 'Compare Storybooks' | |
on: [push, pull_request] | |
jobs: | |
visual-testing: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
- name: Install dependencies | |
run: npm install storycap puppeteer http-server | |
working-directory: ./frontend | |
- name: Capture screenshots | |
run: | |
npx storycap http://localhost:6006 --serverCmd "npx -p @angular/cli | |
ng run capellacollab:storybook" --flat | |
working-directory: ./frontend | |
- uses: reg-viz/reg-actions@v2 | |
with: | |
github-token: '${{ secrets.GITHUB_TOKEN }}' | |
image-directory-path: './frontend/__screenshots__' | |
outdated-comment-action: minimize | |
matching-threshold: 0.02 | |
retention-days: 90 |