mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-31 19:02:59 +01:00
Use node env development.
This commit is contained in:
parent
25b4ece39c
commit
9abc5a59a6
2 changed files with 2 additions and 1 deletions
1
.github/workflows/docker.yml
vendored
1
.github/workflows/docker.yml
vendored
|
@ -46,6 +46,7 @@ jobs:
|
|||
-
|
||||
name: Test
|
||||
run: |
|
||||
export NODE_ENV=development
|
||||
docker run --rm -d -p 9001:9001 --name test ${{ env.TEST_TAG }}
|
||||
docker logs -f test &
|
||||
./src/bin/installDeps.sh
|
||||
|
|
|
@ -102,7 +102,7 @@
|
|||
"lint": "../node_modules/eslint/bin/eslint.js .",
|
||||
"test": "../node_modules/mocha/bin/_mocha --timeout 120000 --recursive tests/backend/specs ../node_modules/ep_*/static/tests/backend/specs",
|
||||
"test-on-windows": "npx mocha --timeout 120000 --recursive tests/backend/specs ../node_modules/ep_*/static/tests/backend/specs",
|
||||
"test-container": "export NODE_ENV=development && npx mocha --timeout 5000 tests/container/specs/api",
|
||||
"test-container": "npx mocha --timeout 5000 tests/container/specs/api",
|
||||
"dev": "bash ./bin/run.sh"
|
||||
},
|
||||
"version": "1.9.5",
|
||||
|
|
Loading…
Reference in a new issue