Commit f1d30471 authored by Joel Collins's avatar Joel Collins
Browse files

Draft updated CI

parent a154c9dd
Loading
Loading
Loading
Loading
+18 −2
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@ build:
  image: electronuserland/builder:wine
  script:
    - npm install
    - npm run build
    - npm run build:web
  artifacts:
    name: "build"
    paths:
@@ -25,11 +25,27 @@ build:
    - tags
    - web

# Build electron webapp
build:electron:
  stage: build
  image: electronuserland/builder:wine
  script:
    - npm install
    - npm run build:app
  artifacts:
    name: "build"
    paths:
      - app/dist/
  only:
    - stable
    - tags
    - web

# Platform-specific Electron builds
package:
  stage: package
  dependencies:
    - build
    - build:electron
  image: electronuserland/builder:wine
  retry: 2
  script: