Browse Source

wip [skip-ci]

Ryan Chandler 4 năm trước cách đây
mục cha
commit
d84590d470

+ 1 - 3
.github/workflows/cypress-tests.yml

@@ -29,13 +29,11 @@ jobs:
           path: ~/.cache/Cypress
           path: ~/.cache/Cypress
           key: cypress-cache-${{ hashFiles('yarn.lock') }}
           key: cypress-cache-${{ hashFiles('yarn.lock') }}
 
 
-      - name: Start server
-        run: nohup yarn pre-cypress > server.log 2>&1 &
-
       - name: Run Cypress
       - name: Run Cypress
         uses: cypress-io/github-action@v2
         uses: cypress-io/github-action@v2
         with:
         with:
           browser: chrome
           browser: chrome
+          start: yarn pre-cypress
           
           
       - name: Cypress screenshots
       - name: Cypress screenshots
         uses: actions/upload-artifact@v1
         uses: actions/upload-artifact@v1