Skip to content

Commit

Permalink
wip: cypress in ci
Browse files Browse the repository at this point in the history
trying to get around the error:
  > Cypress could not verify that this server is running:
  > http://localhost:3000
  > We are verifying this server because it has been configured as your
  > baseUrl.
  • Loading branch information
alishaevn committed Dec 18, 2023
1 parent bef639a commit aed75d9
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/build-test-lint.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Build Test Lint"
name: 'Build Test Lint'
run-name: Build Test Lint of ${{ github.ref_name }} by @${{ github.actor }}
on:
push:
Expand All @@ -24,6 +24,14 @@ jobs:
webTarget: web
# TODO(alishaevn): figure out how to get the below passing in github actions
# it may be different than our typical setups since we don't use docker locally
cypress:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cypress e2e
uses: cypress-io/github-action@v6
with:
# cypress:
# runs-on: ubuntu-22.04
# steps:
Expand All @@ -35,6 +43,12 @@ jobs:
# uses: cypress-io/github-action@v6
# with:
# component: true
start: yarn start
wait-on: 'http://web:3000'
- name: Cypress component
uses: cypress-io/github-action@v6
with:
component: true
eslint:
needs: build
uses: scientist-softserv/actions/.github/workflows/[email protected]
Expand Down

0 comments on commit aed75d9

Please sign in to comment.