main-site

Main site for niliara.net
git clone git://niliara.net/main-site
Log | Files | Refs

cypress.md (515B)


      1 
      2 
      3 ## Installation
      4 
      5     npm install cypress --save-dev
      6 
      7 
      8 npx cypress open
      9 
     10 https://docs.cypress.io/guides/getting-started/opening-the-app
     11 
     12 
     13 name: Cypress Tests
     14 
     15 on: push
     16 
     17 jobs:
     18   cypress-run:
     19     runs-on: ubuntu-22.04
     20     steps:
     21       - name: Checkout
     22         uses: actions/checkout@v4
     23       # Install npm dependencies, cache them correctly
     24       # and run all Cypress tests
     25       - name: Cypress run
     26         uses: cypress-io/github-action@v6
     27         with:
     28           build: npm run build
     29           start: npm start
     30