Run cypress in CI

This commit is contained in:
Matthias 2022-01-01 19:52:46 +01:00
parent fc08b4dfe0
commit 1db806b9f8

View File

@ -34,12 +34,6 @@ jobs:
- name: Run Tests - name: Run Tests
run: yarn test:unit run: yarn test:unit
# - name: Cypress run
# uses: cypress-io/github-action@v2
# with:
# build: yarn build
# start: yarn start
- name: Run Component tests - name: Run Component tests
uses: cypress-io/github-action@v2 uses: cypress-io/github-action@v2
with: with:
@ -48,6 +42,12 @@ jobs:
# to run component tests we need to use "cypress run-ct" # to run component tests we need to use "cypress run-ct"
command: yarn cypress run-ct command: yarn cypress run-ct
- name: Cypress run
uses: cypress-io/github-action@v2
with:
build: yarn build
start: yarn serve
- name: Build build - name: Build build
run: yarn build run: yarn build