Skip to content

Commit

Permalink
👷 Enable Cypress record
Browse files Browse the repository at this point in the history
  • Loading branch information
jyboy committed Apr 8, 2024
1 parent cf558ea commit e54d59a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Cypress Tests

on: push
on: [push]

jobs:
cypress-run:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -18,4 +18,9 @@ jobs:
with:
build: pnpm run build
start: pnpm run preview
wait-on: 'http://localhost:4173'
record: true
browser: chrome
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

0 comments on commit e54d59a

Please sign in to comment.