From 42a65fc1d52144b8ddb6ea9e5cebb5ebea590d07 Mon Sep 17 00:00:00 2001 From: Moe Poi ~ Date: Mon, 11 May 2020 18:09:23 +0000 Subject: [PATCH] Add .gitlab-ci.yml --- .gitlab-ci.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..57d189f --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,13 @@ +image: node:latest +stages: [ init, run ] + +cache: + stage: init + paths: + - node_modules/ + +test: + stage: run + script: + - npm install + - node example.js \ No newline at end of file