This repository has been archived by the owner on Feb 3, 2024. It is now read-only.
Bump miragejs from 0.1.47 to 0.1.48 #56
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
name: Percy Visual Tests | |
on: | |
push: | |
tags: | |
- '*' | |
pull_request_target: | |
types: [labeled] | |
schedule: | |
- cron: "15 23 * * 2,4" # T,Th in the afternoon (UTC) | |
workflow_dispatch: | |
concurrency: | |
group: percy-${{ github.head_ref || github.ref }} | |
cancel-in-progress: true | |
env: | |
SW_DISABLED: true | |
COVERAGE: false | |
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }} | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_ILIOS_DEPLOYMENT_WEBHOOK_URL }} | |
jobs: | |
percy: | |
name: Test and Capture Screenshots | |
if: ${{ github.event.action != 'labeled' || github.event.label.name == 'run percy tests' }} | |
runs-on: ubuntu-latest | |
timeout-minutes: 20 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: npm | |
- name: install dependencies | |
run: npm ci | |
- name: Run Percy Tests | |
run: npm run test:percy | |
- uses: act10ns/slack@v2 | |
if: failure() | |
with: | |
status: ${{ job.status }} | |
message: Percy Run Failed {{ env.GITHUB_SERVER_URL }}/{{ env.GITHUB_REPOSITORY }}/actions/runs/{{ env.GITHUB_RUN_ID }} |