Skip to content

Instantly share code, notes, and snippets.

@andreybleme
Created February 28, 2020 02:02
Show Gist options
  • Save andreybleme/011902429ef270a63403df51a7e6c4e1 to your computer and use it in GitHub Desktop.
Save andreybleme/011902429ef270a63403df51a7e6c4e1 to your computer and use it in GitHub Desktop.
andreybleme.com | Continuous Integration with Github Actions and Cypress end-to-end tests
name: integration-tests
on: [push]
jobs:
cypress-run:
runs-on: ubuntu-16.04
steps:
- name: Checkout
uses: actions/checkout@v1
# https://github.com/cypress-io/github-action
- name: Cypress run
uses: cypress-io/github-action@v1
with:
record: true
start: npm run serve
working-directory: frontend
env:
# pass the Dashboard record key as an environment variable
CYPRESS_RECORD_KEY: e63a7946-58c1-48bf-9a6b-c0c832a5g137
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment