Przeglądaj źródła

Merge pull request #20 from overleaf/update-node-10.21.0

Update node to 10.21.0
Brian Gough 6 lat temu
rodzic
commit
232920d1c0

+ 1 - 1
services/notifications/.nvmrc

@@ -1 +1 @@
-10.19.0
+10.21.0

+ 1 - 1
services/notifications/Dockerfile

@@ -2,7 +2,7 @@
 # Instead run bin/update_build_scripts from
 # https://github.com/sharelatex/sharelatex-dev-environment
 
-FROM node:10.19.0 as base
+FROM node:10.21.0 as base
 
 WORKDIR /app
 

+ 2 - 2
services/notifications/Makefile

@@ -17,13 +17,13 @@ clean:
 	docker rmi gcr.io/overleaf-ops/$(PROJECT_NAME):$(BRANCH_NAME)-$(BUILD_NUMBER)
 
 format:
-	$(DOCKER_COMPOSE) run --rm test_unit npm run format
+	$(DOCKER_COMPOSE) run --rm test_unit npm run format || true
 
 format_fix:
 	$(DOCKER_COMPOSE) run --rm test_unit npm run format:fix
 
 lint:
-	$(DOCKER_COMPOSE) run --rm test_unit npm run lint
+	$(DOCKER_COMPOSE) run --rm test_unit npm run lint || true
 
 test: format lint test_unit test_acceptance
 

+ 1 - 1
services/notifications/buildscript.txt

@@ -5,6 +5,6 @@ notifications
 --env-add=
 --env-pass-through=
 --language=es
---node-version=10.19.0
+--node-version=10.21.0
 --public-repo=True
 --script-version=2.0.0

+ 2 - 2
services/notifications/docker-compose.yml

@@ -6,7 +6,7 @@ version: "2.3"
 
 services:
   test_unit:
-    image: node:10.19.0
+    image: node:10.21.0
     volumes:
       - .:/app
     working_dir: /app
@@ -17,7 +17,7 @@ services:
     user: node
 
   test_acceptance:
-    image: node:10.19.0
+    image: node:10.21.0
     volumes:
       - .:/app
     working_dir: /app