diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..70e3a95 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,32 @@ +version: 2.1 +jobs: + build: + working_directory: ~/repo + docker: + - image: circleci/node:11 + steps: + - checkout + - run: + name: Update NPM + command: "sudo npm install -g npm" + - restore_cache: + key: dependency-cache-{{ checksum "package.json" }} + - run: + name: Install Dependencies + command: npm install + - run: + name: Install dpkg and fakeroot + command: | + sudo apt-get update -y + sudo apt-get install -y dpkg fakeroot + + - save_cache: + key: dependency-cache-{{ checksum "package.json" }} + paths: + - ./node_modules + - run: + name: Generate Builds + command: npm run make + + - store_artifacts: + path: ~/repo/out/make \ No newline at end of file