Skip to content

Commit

Permalink
fix(test): trying to start the local application for ci only
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanlewicki committed Jun 24, 2024
1 parent 63e9a3e commit 387204f
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/testing_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,19 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Install dependencies
if: ${{ inputs.TESTENV == 'ci' }}
run: npm ci

- name: Start application
if: ${{ inputs.TESTENV == 'ci' }}
run: npm start

# Install npm dependencies, cache them correctly
# and run all Cypress tests
- name: Cypress run
uses: cypress-io/github-action@v6
with:
build: npm ci
start: npm start
browser: chrome
spec: cypress/e2e/uiTest.cy.js
record: false
Expand Down

0 comments on commit 387204f

Please sign in to comment.