Skip to content

Replace references to node 22 with node 24 #622

Replace references to node 22 with node 24

Replace references to node 22 with node 24 #622

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
jobs:
tests:
strategy:
fail-fast: false # continue other tests if one test in matrix fails
matrix:
node-version: [24.x]
os: [ubuntu-latest]
name: Test kit on Node v${{ matrix.node-version }} (${{ matrix.os }})
runs-on: ${{ matrix.os }}
timeout-minutes: 25
defaults:
run:
shell: bash
env:
CYPRESS_CACHE_FOLDER: ~/.cache/Cypress
steps:
- uses: actions/checkout@v5.0.0
with:
fetch-depth: 0
- name: Use Node v${{ matrix.node-version }}
uses: actions/setup-node@v4.4.0
with:
cache: 'npm'
node-version: ${{ matrix.node-version }}
- name: Cache Cypress binary
uses: actions/cache@v4.3.0
with:
path: ~/.cache/Cypress
key: cypress-${{ runner.os }}-cypress-${{ hashFiles('**/package.json') }}
- run: npm install
- run: npm ci
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: npm test
env:
CI: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}