Skip to content

Merge pull request #40 from drishit96/status-badge-update #110

Merge pull request #40 from drishit96/status-badge-update

Merge pull request #40 from drishit96/status-badge-update #110

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: E2E Tests
on: [push]
jobs:
cypress-run:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.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 }}
- name: 'Cache Node'
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ matrix.node-version }}-${{ hashFiles('**/package-lock.json') }}
- name: Cypress run
uses: cypress-io/github-action@v6
with:
build: npm run build
start: npm start
wait-on: 'http://localhost:5000'