Skip to content

[#31] type updates to allow optional config (#32) #96

[#31] type updates to allow optional config (#32)

[#31] type updates to allow optional config (#32) #96

Workflow file for this run

name: Test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
root:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: Line endings
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Lint
run: yarn lint
- name: Test
run: yarn test
examples:
runs-on: ubuntu-latest
strategy:
matrix:
version: ["9.x", "10.x", "12.x", "13.x"]
container: cypress/browsers:node18.12.0-chrome107
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Cypress ${{ matrix.version }}
run: |
yarn --cwd examples/${{ matrix.version }} install --frozen-lockfile
yarn --cwd examples/${{ matrix.version }} cy:run
- uses: actions/upload-artifact@v3
if: always()
continue-on-error: true
with:
name: artifacts
path: |
**/screenshots/**/*
**/videos/**/*