From 0fd3af6fed40b243cbef69cfba4644d89b844aec Mon Sep 17 00:00:00 2001 From: Sokratis Siozos-Drosos Date: Thu, 25 Apr 2019 12:30:24 +0200 Subject: [PATCH] (MODE-11365) Testing artifact build with ubuntu image. --- .circleci/config.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 59894de..137e840 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,12 +3,21 @@ jobs: build-package: working_directory: /usr/src/app docker: - - image: node:6.17.1-jessie + - image: ubuntu:16.04 steps: - checkout - restore_cache: key: node-dependencies-{{ checksum "package.json" }} - - run: npm install + - run: + name: Setup and run npm + command: | + curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash - + sudo apt install -y apt-transport-https \ + build-essential python libcairo2-dev \ + libgles2-mesa-dev libgbm-dev libllvm3.9 libprotobuf-dev \ + libxxf86vm-dev libjpeg-dev xvfb nodejs \ + heat-cfntools software-properties-common + npm install - save_cache: paths: - node_modules