diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e5f8199f..d306b1fb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -107,12 +107,23 @@ jobs: run: nohup go run ./main.go & working-directory: ./ - name: Sleep for starting - run: sleep 60s + run: sleep 90s shell: bash - name: e2e run: npx cypress run --spec "**/e2e/**.cy.js" working-directory: ./web + - uses: actions/upload-artifact@v3 + if: failure() + with: + name: cypress-screenshots + path: ./web/cypress/screenshots + - uses: actions/upload-artifact@v3 + if: always() + with: + name: cypress-videos + path: ./web/cypress/videos + release-and-push: name: Release And Push runs-on: ubuntu-latest