Skip to content

test: use examples/browser for firefox v12 tests #1961

test: use examples/browser for firefox v12 tests

test: use examples/browser for firefox v12 tests #1961

name: example-node-versions
on:
push:
branches:
- 'master'
pull_request:
workflow_dispatch:
jobs:
# ~~~~~~~~~~~~~~~~~~ Cypress v9 and below (using Legacy configuration) ~~~~~~~~~~~~~~~~~~~ #
cypress-run-v9:
runs-on: ubuntu-22.04
# let's make sure Cypress works on several versions of Node
strategy:
fail-fast: false
matrix:
node: [16, 18, 20]
name: Cypress v9 E2E on Node v${{ matrix.node }}
steps:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- run: node -v
- run: npm -v
- name: Checkout
uses: actions/checkout@v3
# Hmm, should we rebuild the "dist" before using the action?
- uses: ./
with:
working-directory: examples/v9/node-versions
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Cypress v10 and higher ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #
cypress-run:
runs-on: ubuntu-22.04
# let's make sure Cypress works on several versions of Node
strategy:
fail-fast: false
matrix:
node: [16, 18, 20]
name: Cypress E2E on Node v${{ matrix.node }}
steps:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- run: node -v
- run: npm -v
- name: Checkout
uses: actions/checkout@v3
# Hmm, should we rebuild the "dist" before using the action?
- uses: ./
with:
working-directory: examples/node-versions