christian fei's blog

agile developer

clean code connoisseur && testing aficionado

read more about me

read some posts that i wrote


follow me on twitter

connect with me on linkedin

distilling customer feedback at wonderflow

Edit this page on GitHub

Run Cypress Integration Tests with GitHub Actions Workflow

by Christian Fei

written on Sat Aug 31 2019 00:00:00 GMT+0000 (Coordinated Universal Time)

On this very site this deployment strategy is used with GitHub actions:

      - name: uat
        run: |
          npm start &
          npx cypress run

As you can see, I just start the development server anad then run the cypress tests with npx.

Easy as that. If you want to take a closer look at the workflow, check this out