Add test mode (#898)

Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
This commit is contained in:
Tilman Vatteroth 2020-12-29 17:13:07 +01:00 committed by GitHub
parent e4210ae568
commit dfc2524bd7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 26 additions and 9 deletions

View file

@ -40,4 +40,4 @@ jobs:
- name: Test Project
run: yarn test
- name: Build project
run: yarn build
run: yarn build:production

View file

@ -42,7 +42,7 @@ jobs:
node-version: 14
- run: yarn install --frozen-lockfile --prefer-offline
- run: yarn build
- run: yarn build:test
- uses: actions/upload-artifact@master
with:
name: build
@ -64,7 +64,7 @@ jobs:
- uses: cypress-io/github-action@v2
with:
browser: ${{ matrix.browser }}
start: 'yarn build:serve'
start: 'yarn serve:build'
- uses: actions/upload-artifact@master
if: always()
with: