Add gitlab ci workflow
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..63792b4
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,26 @@
+image: node:latest
+
+stages:
+  - test
+  - package
+
+cache:
+  paths:
+    - node_modules/
+
+before_script:
+  - npm install
+
+test:
+  stage: test
+  script:
+    - npm test
+
+package:
+  stage: package
+  script:
+    - npm run pkg-linux
+    - npm run pkg-macos
+  artifacts:
+    paths:
+      - bin/