Commit 1f1fb64

mo <mo.khan@gmail.com>
2018-12-08 03:09:14
install yarn
1 parent 72f71a8
Changed files (1)
.gitlab-ci.yml
@@ -1,10 +1,15 @@
 image: ruby:2.5
 
 before_script:
-  - apt-get update && apt-get install -y locales postgresql postgresql-client libpq-dev
+  - curl -sL https://deb.nodesource.com/setup | bash -
+  - apt-get update && apt-get install -y locales postgresql postgresql-client libpq-dev nodejs
   - echo "en_US.UTF-8 UTF-8" > /etc/locale.gen
   - locale-gen
   - export LC_ALL=en_US.UTF-8
+  - wget -q -O - https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
+  - echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list
+  - apt-get update -yq
+  - apt-get install -y yarn
 
 cibuild:
   script: