diff options
author | Devon Hudson <devonhudson@librem.one> | 2023-01-11 10:40:38 -0700 |
---|---|---|
committer | Devon Hudson <devonhudson@librem.one> | 2023-01-11 10:40:38 -0700 |
commit | b297ea7379d6d5b953a810fe2475b549a917cc9a (patch) | |
tree | 5ac465fc52b5413eac801edf369ada6c124d56f0 | |
parent | 8fef692741f2e228c04b5f986ab65036e89947d2 (diff) |
Add cypress cloud recording
-rw-r--r-- | .github/workflows/schedules.yaml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.github/workflows/schedules.yaml b/.github/workflows/schedules.yaml index ba05f208..45098925 100644 --- a/.github/workflows/schedules.yaml +++ b/.github/workflows/schedules.yaml @@ -75,6 +75,7 @@ jobs: /logs/**/*.log* element_web: + timeout-minutes: 120 runs-on: ubuntu-latest steps: - uses: tecolicom/actions-use-apt-tools@v1 @@ -107,6 +108,13 @@ jobs: browser: chrome start: npx serve -p 8080 ./element-web/webapp wait-on: 'http://localhost:8080' + record: + true env: + # pass the Dashboard record key as an environment variable + CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} + # pass GitHub token to allow accurately detecting a build vs a re-run build + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true TMPDIR: ${{ runner.temp }} |