summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml32
1 files changed, 32 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..787d052
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,32 @@
+image: electronuserland/builder:wine
+
+cache:
+ paths:
+ - node_modules/
+
+stages:
+ - prepare
+ - build
+ - package
+
+
+npmi:
+ stage: prepare
+ script:
+ - npm install
+
+build:
+ stage: build
+ script:
+ - npm run build
+
+electron-builder:
+ stage: package
+ script:
+ - npm run package
+ artifacts:
+ paths:
+ - "out/**"
+ - "out/ManaLauncher **"
+ - "out/ManaLauncher**.AppImage"
+ - "out/ManaLauncher**.exe"