Skip to content

Merge pull request #193 from mikepsinn/develop #256

Merge pull request #193 from mikepsinn/develop

Merge pull request #193 from mikepsinn/develop #256

Workflow file for this run

name: Cypress tests
on: [push]
jobs:
cypress-run:
name: Cypress run
runs-on: [self-hosted]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Cypress run
uses: cypress-io/github-action@v2
with:
record: true
working-directory: apps/ionic
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 }}
# pass the project ID from the secrets through environment variable
CYPRESS_PROJECT_ID: ${{ secrets.CYPRESS_PROJECT_ID }}