Skip to content

fix: converge MRRT cache to single RT on concurrent refresh #428

fix: converge MRRT cache to single RT on concurrent refresh

fix: converge MRRT cache to single RT on concurrent refresh #428

Workflow file for this run

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@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: ${{ github.event.pull_request.head.sha || github.ref }}
- name: Setup Node
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: ${{ env.NODE_VERSION }}
cache: npm
- name: Install dependencies
run: npm ci
- name: Run cross-browser tests
uses: cypress-io/github-action@fa4a118725a8f001170d49631ea89e5d66fee626 # v7.4.1
with:
browser: ${{ matrix.browser }}
start: npm run dev
wait-on: 'http://localhost:3000'
config-file: cypress.config.js
install-command: npx cypress install
- name: Upload Cypress screenshots
if: failure()
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: cypress-screenshots-${{ matrix.browser }}-${{ github.run_id }}
path: cypress/screenshots
retention-days: 30
if-no-files-found: ignore