Skip to content

Commit

Permalink
Manually install demos before cypress run
Browse files Browse the repository at this point in the history
  • Loading branch information
DrRataplan committed Oct 31, 2023
1 parent 72056e3 commit 14b9708
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,6 @@ jobs:
- name: Cypress run
uses: cypress-io/github-action@v6
with:
install-command: |
npm run install-demos
start: npm run start-cypress > /dev/null
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"preversion": "npm run test",
"version": "npm run build && git add -A dist",
"postversion": "git nppush && git push --tags && rm -rf build/",
"install-demos": "cd demo && npm i",
"install-demos": "npm i && cd demo && npm i",
"start-cypress": "es-dev-server --app-index doc/index.html --node-resolve"
},
"keywords": [
Expand Down

0 comments on commit 14b9708

Please sign in to comment.