Skip to content

Merge pull request #86 from nation3/85-cypress #2

Merge pull request #86 from nation3/85-cypress

Merge pull request #86 from nation3/85-cypress #2

Workflow file for this run

name: CI - Test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
e2e:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: package-lock.json
- name: Cypress run
uses: cypress-io/github-action@v6
with:
build: npm run build
start: npm start