.gitlab-ci.yml 509 Bytes
Newer Older
LawnCable's avatar
LawnCable committed
1 2 3 4 5 6 7 8
image: electronuserland/builder:wine

cache:
  paths:
  - node_modules/

stages:
  - prepare
LawnCable's avatar
LawnCable committed
9
  - test
LawnCable's avatar
LawnCable committed
10 11 12 13 14 15 16 17 18
  - build
  - package


npmi:
  stage: prepare
  script:
   - npm install

LawnCable's avatar
LawnCable committed
19 20 21 22 23
test_formatting:
  stage: test
  script:
   - npm run formatting:check

LawnCable's avatar
LawnCable committed
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
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"