Skip to content

Update README.md

Update README.md #4

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
cypress-run:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16, 18]
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Cache Cypress binary
uses: actions/cache@v2
with:
path: ~/.cache/Cypress
key: ${{ runner.os }}-cypress-${{ hashFiles('package-lock.json') }}
restore-keys: |
${{ runner.os }}-cypress-
- name: Install dependencies
run: npm install
- name: Install Cypress binary
run: npx cypress install
- name: Verify Cypress binary
run: npx cypress verify
- name: Run Cypress tests
run: npx cypress run