From 34520c7908656fc52b43647c741ede8e418f77b8 Mon Sep 17 00:00:00 2001 From: Rohit Yadav Date: Thu, 30 Apr 2020 17:21:13 +0530 Subject: [PATCH] travis: use lts/12 nodejs Signed-off-by: Rohit Yadav --- ui/.travis.yml | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/ui/.travis.yml b/ui/.travis.yml index a08bfcb2aac..161647bf5fa 100644 --- a/ui/.travis.yml +++ b/ui/.travis.yml @@ -1,7 +1,26 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + language: node_js node_js: - - 10.15.0 -cache: yarn + - 12 +cache: + npm: false +before_install: + - npm i -g npm@version-number script: - - yarn - - yarn run lint --no-fix && yarn run build + - npm run lint && npm run build