From fa1275db435b52195fed1ccc29284c75abd7344f Mon Sep 17 00:00:00 2001 From: alex kuklin <alex@kuklin.eu> Date: Tue, 20 Nov 2018 13:12:48 +0200 Subject: [PATCH] ci added --- .gitlab-ci.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..b8121ce --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,21 @@ +image: debian +stages: +- build +- dev +build: + stage: build + only: + - ci + tags: + - dell + script: + - apt-get update + - apt-get install -y curl gnupg apt-transport-https + - curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - + - curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - + - echo 'deb https://deb.nodesource.com/node_10.x stretch main' > /etc/apt/sources.list.d/nodesource.list + - echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list + - apt-get update + - apt-get install -y yarn libpng-dev pngquant build-essential rsync openssh-client + - yarn install + - yarn build -- GitLab