upped the wait time and also use a different startup script

This commit is contained in:
tidusjar 2021-03-09 22:29:56 +00:00
commit e3052c8714
2 changed files with 4 additions and 3 deletions

View file

@ -57,7 +57,7 @@ jobs:
- name: Start Frontend - name: Start Frontend
run: | run: |
nohup yarn --cwd ./src/Ombi/ClientApp start & nohup yarn --cwd ./src/Ombi/ClientApp run start:nomap &
- name: Cypress Tests - name: Cypress Tests
uses: cypress-io/github-action@v2.8.2 uses: cypress-io/github-action@v2.8.2
@ -70,8 +70,8 @@ jobs:
group: "UI - Chrome" group: "UI - Chrome"
wait-on: http://localhost:3577/ wait-on: http://localhost:3577/
parallel: true parallel: true
# 7 minutes # 8 minutes
wait-on-timeout: 420 wait-on-timeout: 480
env: env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View file

@ -4,6 +4,7 @@
"scripts": { "scripts": {
"ng": "ng", "ng": "ng",
"start": "ng serve --port 3578 --configuration hmr", "start": "ng serve --port 3578 --configuration hmr",
"start:nomap": "ng serve --port 3578 --source-map=false",
"build": "node --max_old_space_size=6144 node_modules/@angular/cli/bin/ng build --prod", "build": "node --max_old_space_size=6144 node_modules/@angular/cli/bin/ng build --prod",
"lint": "ng lint" "lint": "ng lint"
}, },