diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 1d19c01d9f9f18d4403afaf68e42af825538689c..87a9196bccd01034985cec94a34fce85a70b980f 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -17,7 +17,7 @@ jobs: - os: macos-latest node_version: 12 - os: windows-latest - node_version: 12 + node_version: 12 fail-fast: false name: 'e2e: node-${{ matrix.node_version }}, ${{ matrix.os }}' steps: @@ -56,4 +56,16 @@ jobs: npx cypress version --component package npx cypress version --component binary npx cypress version --component electron - npx cypress version --component node \ No newline at end of file + npx cypress version --component node + + - name: Cypress run + uses: cypress-io/github-action@v2.3.6 + with: + install: true + start: npm run dev:ssr + working-directory: ./packages/playground/ssr + wait-on: 'http://localhost:3000' + wait-on-timeout: 120 + browser: chrome + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}