📚 Bump @testing-library/jest-dom from 6.6.2 to 6.6.3 in the dependencies group #239
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: "Screenshots" | |
on: | |
pull_request: | |
types: [ opened, synchronize, reopened ] | |
permissions: write-all | |
jobs: | |
screenshots: | |
runs-on: ubuntu-latest | |
name: Take a screenshot after page was built | |
steps: | |
- name: Wait for build to succeed | |
uses: fountainhead/action-wait-for-check@v1.2.0 | |
id: wait-for-build | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
checkName: Make sure it builds. Then show a preview. | |
ref: ${{ github.event.pull_request.head.sha || github.sha }} | |
- name: Exit if build did not succeed | |
if: steps.wait-for-build.outputs.conclusion == 'failure' | |
run: exit 1 | |
shell: bash | |
- name: Sleep for 120 seconds | |
if: steps.wait-for-build.outputs.conclusion == 'success' | |
run: sleep 120s | |
shell: bash | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: install puppeteer-headful | |
uses: mujo-code/puppeteer-headful@master | |
env: | |
CI: 'true' | |
- name: screenshots-ci-action | |
uses: flameddd/screenshots-ci-action@master | |
with: | |
devices: iPhone 13,iPad Pro,iPad Pro landscape | |
fullpage: false | |
noDesktop: true | |
releaseId: 132411332 | |
type: png | |
url: ${{ env.PR_NUMBER }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
PR_NUMBER: https://helper.farm/pr-preview/pr-${{ github.event.number }}/ | |
- uses: actions/upload-artifact@v4 | |
with: | |
path: screenshots | |
name: Download-screenshots |