diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..b8121ceb238cdb7b56360a8079ab720d9b192662 --- /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