Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

Commit

Permalink
test: fix e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
rot1024 committed Jun 1, 2021
1 parent 277f4e0 commit 396f714
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,22 @@ on:
workflow_dispatch:
schedule:
- cron: '0 3 * * 1-5'

jobs:
e2e:
name: E2E test
e2e_pre:
runs-on: ubuntu-latest
outputs:
result: ${{ steps.e2e_pre.outputs.result }}
env:
CYPRESS_PROJECT_ID: ${{ secrets.CYPRESS_PROJECT_ID }}
if: env.CYPRESS_PROJECT_ID != null
steps:
- name: Set vars
id: e2e_pre
run: echo "::set-output name=result::$CYPRESS_PROJECT_ID"
e2e:
name: E2E test
runs-on: ubuntu-latest
needs: e2e_pre
if: needs.e2e_pre.outputs.result != null
steps:
- uses: actions/setup-node@v2
with:
Expand Down

0 comments on commit 396f714

Please sign in to comment.