Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Bump @types/node from 22.3.0 to 22.5.4 #985

Bump @types/node from 22.3.0 to 22.5.4

Bump @types/node from 22.3.0 to 22.5.4 #985

name: Cypress E2E Tests
on: [push]
jobs:
cypress-ubuntu-22:
timeout-minutes: 10
strategy:
matrix:
os: [ubuntu-22.04] # ubuntu-24.04 doesn't have a working firefox yet
node: [20, 22]
runs-on: ${{ matrix.os }}
name: ${{ matrix.os }}, Node v${{ matrix.node }}
steps:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Checkout
uses: actions/checkout@v4
- name: Cypress run Chrome
uses: cypress-io/github-action@v6.7.2
with:
record: false
cache-key: node-v${{ matrix.node }}-on-${{ runner.os }}-hash-${{ hashFiles('yarn.lock') }}
browser: chrome
build: yarn run build
start: yarn run start
wait-on: 'http://localhost:9000'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Cypress run Firefox
uses: cypress-io/github-action@v6.7.2
with:
record: false
cache-key: node-v${{ matrix.node }}-on-${{ runner.os }}-hash-${{ hashFiles('yarn.lock') }}
browser: firefox
build: echo # Already built from Chrome test
start: echo # Already running from Chrome test
wait-on: 'http://localhost:9000'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots
path: cypress/screenshots