Run Cypress Integration Tests with GitHub Actions Workflow

by Christian Fei @ 2019-08-31

90 words, 1 minute reading time

#post #javascript #nodejs #tutorial #featured 

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

ffmpeg-layer.png

FEEDBACK @christian_fei

Featured blog posts

Twitter oauth by example in node.js So long, and thanks for all the veggies Simplest vanilla javascript static site blog search for jekyll, hugo, 11.ty Minimal environments with dotenv and node.js Connect to mongodb with monk in node.js Lazy loading images in 2020 Recover from failed `lerna` publish The cleanest way to maintain connect / express middlewares in node.js Better web scraping with node.js My blogging stack in 2020