chore(deps): bump next from 16.2.3 to 16.2.6 in /examples/nextjs-app … #23
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: Cross-Browser Tests | |
| on: | |
| merge_group: | |
| workflow_dispatch: | |
| pull_request: | |
| types: | |
| - opened | |
| - synchronize | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | |
| env: | |
| NODE_VERSION: 22 | |
| jobs: | |
| cross-browser: | |
| name: ${{ matrix.browser }} | |
| runs-on: ${{ matrix.os }} | |
| timeout-minutes: 25 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [windows-latest] | |
| browser: [chrome, edge, firefox] | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| with: | |
| ref: ${{ github.event.pull_request.head.sha || github.ref }} | |
| - name: Setup Node | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: ${{ env.NODE_VERSION }} | |
| - name: Install dependencies | |
| run: npm i --include=dev | |
| - name: Run cross-browser tests | |
| uses: cypress-io/github-action@v7 | |
| with: | |
| browser: ${{ matrix.browser }} | |
| start: npm start | |
| wait-on: 'http://127.0.0.1:3000' | |
| spec: cypress/e2e/smoke-bs.cy.ts | |
| config-file: cypress-bs.config.js | |
| install-command: npx cypress install | |
| - name: Upload Cypress screenshots | |
| if: failure() | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: cypress-screenshots-${{ matrix.browser }}-${{ github.run_id }} | |
| path: cypress/screenshots | |
| retention-days: 30 | |
| if-no-files-found: ignore |