Skip to content

changed server name

changed server name #8

Workflow file for this run

name: e2e-tests
on: [push]
jobs:
cypress-run:
runs-on: ubuntu-latest
steps:
# - name: Checkout
# uses: actions/checkout@v3
#
# - name: Install `serve`
# run: npm install -g serve
#
# - name: Start `serve` to host the app
# run: serve -s build -l 8900 &
#
# - name: Cypress run
# uses: cypress-io/github-action@v5
# with:
# start: npm start
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Install dependencies
run: npm install
- name: Start server
run: npm start
env:
NODE_ENV: development
- name: Run Cypress tests
uses: cypress-io/github-action@v5
with:
start: npm start