Skip to content

Commit

Permalink
feat(test): test if both ci and prod run in workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanlewicki committed May 20, 2024
1 parent 09e30fe commit 724fef4
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,22 @@ jobs:

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


- name: Cypress run prod
uses: cypress-io/github-action@v6
env:
TESTENV: PROD
with:
build: npm ci
start: npm start
Expand Down

0 comments on commit 724fef4

Please sign in to comment.