Repository navigation
build(deps): bump next from 15.4.8 to 15.5.24 in /packages/demo-nextjs #370
This file contains hidden or 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: Visual Tests | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| visual: | |
| runs-on: ubuntu-latest | |
| # skip for external PRs, run for push on main branch | |
| if: ${{ !github.event.pull_request || github.event.pull_request.head.repo.full_name == github.repository }} | |
| steps: | |
| - name: Check out Git repository | |
| uses: actions/checkout@v6 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| - name: Get yarn cache | |
| uses: actions/cache@v5 | |
| id: yarn-cache | |
| with: | |
| path: | | |
| **/node_modules | |
| ~/.cache | |
| key: ${{ runner.os }}-repo-${{ github.event.pull_request.head.repo.full_name }}-node-24-yarn-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('.github/workflows/**.yml') }} | |
| - name: Install Node.js dependencies | |
| if: steps.yarn-cache.outputs.cache-hit != 'true' | |
| run: yarn install --frozen-lockfile | |
| - name: Install Cypress binary | |
| run: yarn cypress install | |
| - run: yarn build | |
| - run: yarn test:visual | |
| env: | |
| VRT_APIURL: ${{ secrets.VRT_APIURL }} | |
| VRT_APIKEY: ${{ secrets.VRT_APIKEY }} | |
| VRT_PROJECT: ${{ secrets.VRT_PROJECT }} | |
| VRT_BRANCHNAME: ${{ github.head_ref || github.ref_name }} | |
| VRT_CIBUILDID: ${{ github.sha }} |