Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ANKUR DWIVEDI authored and ANKUR DWIVEDI committed Nov 23, 2023
1 parent 144dcf1 commit fe5ef76
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,16 +73,24 @@ jobs:
cd server
echo VUE_APP_PRIVATE_KEY = ${{ secrets.ik_private_key }} > .env;
cat .env
npm install
cd ../../..
npm run start:test-app
npm install
- name: Start the app for Cypress
run: npm run start:test-app

- name: Wait for the app to start
run: npx wait-on http://localhost:3000

- name: Start the app and run E2E tests
uses: cypress-io/github-action@v4
with:
# wait-on: http://localhost:3000
# start: npm run start:test-app
wait-on: http://localhost:3000
browser: chrome
headed: true
browser: chrome
headed: true
env:
DEBUG: 'cypress:server:browsers:electron'
CI: true
Expand Down

0 comments on commit fe5ef76

Please sign in to comment.