mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
Merge pull request #5552 from overleaf/bg-node-upgrade-other
upgrade node to v12.22.7 (other services) GitOrigin-RevId: 889cf9a77173119fec8f200eeef9ddeefca0720b
This commit is contained in:
@@ -2,23 +2,23 @@
|
||||
# Instead run bin/update_build_scripts from
|
||||
# https://github.com/sharelatex/sharelatex-dev-environment
|
||||
|
||||
version: "2.3"
|
||||
version: '2.3'
|
||||
|
||||
services:
|
||||
test_unit:
|
||||
image: node:12.22.3
|
||||
image: node:12.22.7
|
||||
volumes:
|
||||
- .:/app
|
||||
working_dir: /app
|
||||
environment:
|
||||
MOCHA_GREP: ${MOCHA_GREP}
|
||||
NODE_ENV: test
|
||||
NODE_OPTIONS: "--unhandled-rejections=strict"
|
||||
NODE_OPTIONS: '--unhandled-rejections=strict'
|
||||
command: npm run --silent test:unit
|
||||
user: node
|
||||
|
||||
test_acceptance:
|
||||
image: node:12.22.3
|
||||
image: node:12.22.7
|
||||
volumes:
|
||||
- .:/app
|
||||
working_dir: /app
|
||||
@@ -31,7 +31,7 @@ services:
|
||||
MOCHA_GREP: ${MOCHA_GREP}
|
||||
LOG_LEVEL: ERROR
|
||||
NODE_ENV: test
|
||||
NODE_OPTIONS: "--unhandled-rejections=strict"
|
||||
NODE_OPTIONS: '--unhandled-rejections=strict'
|
||||
user: node
|
||||
depends_on:
|
||||
mongo:
|
||||
@@ -44,4 +44,3 @@ services:
|
||||
test: "mongo --quiet localhost/test --eval 'quit(db.runCommand({ ping: 1 }).ok ? 0 : 1)'"
|
||||
interval: 1s
|
||||
retries: 20
|
||||
|
||||
|
||||
Reference in New Issue
Block a user