Add test environment setup
This commit is contained in:
parent
105282b6a3
commit
31a65f566e
1 changed files with 9 additions and 0 deletions
|
@ -37,3 +37,12 @@ jobs:
|
||||||
script:
|
script:
|
||||||
# - npm run fix
|
# - npm run fix
|
||||||
- npm run build
|
- npm run build
|
||||||
|
|
||||||
|
- stage: "Setup Tests"
|
||||||
|
name: "Setup Test Environment"
|
||||||
|
|
||||||
|
script:
|
||||||
|
- cp ./cli/defaults/* ./site/config/
|
||||||
|
- echo '{ "sessionKey": "session", "masterPassword": false }' > ./site/private/authConfig.json
|
||||||
|
- npm start &
|
||||||
|
- sleep 10 # Attempt to collect output for 10 seconds
|
||||||
|
|
Loading…
Add table
Reference in a new issue