Skip to content

cloud also needs config #46

cloud also needs config

cloud also needs config #46

Workflow file for this run

name: Cypress Tests
on:
push:
branches:
- main
- cypress-cloud
workflow_dispatch:
jobs:
cypress-run:
runs-on: ubuntu-24.04
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true
- name: Install Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: npm install
run: npm install
- name: Start server for tests
run: bundle exec jekyll serve --detach
- name: Run Cypress tests
uses: cypress-io/github-action@v6
with:
wait-on: "http://localhost:4000"
config: baseUrl=http://localhost:4000
- name: Run Cypress tests on Cypress Cloud
uses: cypress-io/github-action@v6
with:
wait-on: "http://localhost:4000"
config: baseUrl=http://localhost:4000
record: true
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}