Skip to content

Commit

Permalink
ops: set up CI
Browse files Browse the repository at this point in the history
  • Loading branch information
alxndr committed Sep 28, 2023
1 parent 185f853 commit 8cd1bef
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# https://docs.cypress.io/guides/continuous-integration/github-actions

name: Cypress integration tests

on: push

jobs:

cypress:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cypress run
uses: cypress-io/github-action@v6
with:
build: npm ci
start: npm start -- -p 30000
wait-on: 'http://localhost:30000' # quote the url to be safe against YML parsing surprises
config: pageLoadTimeout=100000,baseUrl=http://localhost:30000

0 comments on commit 8cd1bef

Please sign in to comment.