Skip to content

point to html file

point to html file #10

Workflow file for this run

name: Cypress Tests
on: push
jobs:
cypress-run:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
# Install dependencies
- name: Install dependencies
run: |
npm install
npm install --save-dev http-server
# Start the server and serve the HTML file
- name: Start http-server
run: |
nohup npx http-server ./calculator.html -p 3000 &
- name: Run Cypress tests
uses: cypress-io/github-action@v6
with:
browser: chrome
start: npm start
config: baseUrl=http://localhost:3000