(MODE-11365) Testing with new image.
This commit is contained in:
parent
a07fb3e9be
commit
48dfc82138
1 changed files with 2 additions and 13 deletions
|
|
@ -3,23 +3,12 @@ jobs:
|
||||||
build-package:
|
build-package:
|
||||||
working_directory: /usr/src/app
|
working_directory: /usr/src/app
|
||||||
docker:
|
docker:
|
||||||
- image: ubuntu:16.04
|
- image: monosolutions/ubuntu-nodejs
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
key: node-dependencies-{{ checksum "package.json" }}
|
key: node-dependencies-{{ checksum "package.json" }}
|
||||||
- run:
|
- run: npm install
|
||||||
name: Setup and run npm
|
|
||||||
command: |
|
|
||||||
apt update && \
|
|
||||||
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 curl
|
|
||||||
curl -sL https://deb.nodesource.com/setup_6.x | bash -
|
|
||||||
apt install -y nodejs
|
|
||||||
npm install
|
|
||||||
- save_cache:
|
- save_cache:
|
||||||
paths:
|
paths:
|
||||||
- node_modules
|
- node_modules
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue