Created
February 28, 2020 02:02
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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