mirror of
https://github.com/PeWu/topola-viewer.git
synced 2025-12-23 18:50:04 +00:00
Added before_script to run server before cypress tests
This commit is contained in:
parent
2782e9d90a
commit
ac9f6f475d
@ -6,7 +6,11 @@ addons:
|
||||
packages:
|
||||
# Ubuntu 16+ does not install this dependency by default, so we need to install it ourselves
|
||||
- libgconf-2-4
|
||||
|
||||
before_script:
|
||||
- npm start -- --silent &
|
||||
|
||||
script:
|
||||
- npm run build
|
||||
- npm test
|
||||
- $(npm bin)/cypress run --record
|
||||
- npm run cypress:run
|
||||
|
||||
@ -58,7 +58,8 @@
|
||||
"predeploy": "npm run build",
|
||||
"deploy": "gh-pages -d build",
|
||||
"predeploy-wikitree": "npm run build",
|
||||
"deploy-wikitree": "./deploy-wikitree.sh"
|
||||
"deploy-wikitree": "./deploy-wikitree.sh",
|
||||
"cypress:run": "cypress run"
|
||||
},
|
||||
"homepage": ".",
|
||||
"browserslist": [
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user