Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
cd docs
bundle exec jekyll build
- name: Run Cypress tests
run: yarn run cypress:ci
run: yarn run cypress:run
shell: bash {0}
env:
NODE_NO_WARNINGS: 1
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
"type": "module",
"scripts": {
"cypress": "cypress",
"cypress:ci": "node scripts/start-jekyll.js & sleep 5 && cypress run",
"cypress:run": "node scripts/start-jekyll.js & sleep 5 && cypress run && node scripts/kill-jekyll.js",
"cypress:run": "bash -c 'node scripts/start-jekyll.js && sleep 8 && cypress run; EXIT_CODE=$?; node scripts/kill-jekyll.js; exit $EXIT_CODE'",
"lint": "eslint . --ext .ts",
"pretest": "yarn run lint",
"build": "tsc && vite build && terser dest/simple-jekyll-search.js -o dest/simple-jekyll-search.min.js",
Expand Down
Loading