should that work ?

This commit is contained in:
Jean Ouina 2020-09-12 16:04:07 +02:00
parent b8af18aef6
commit 6eb67a4db5
1 changed files with 10 additions and 11 deletions

View File

@ -1,28 +1,27 @@
language: node_js
node_js: "lts/*"
node_js: "12"
before_install:
- npm i -g npm@6.14.6
- npm i
env:
global:
- ELECTRON_CACHE=$HOME/.cache/electron
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
jobs:
include:
- stage: Linux & Mac Build
os: osx
osx_image: xcode10.1
osx_image: xcode10.2
env:
- ELECTRON_CACHE=$HOME/.cache/electron
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
before_cache:
- rm -rf $HOME/.cache/electron-builder/wine
- rm -rf $ELECTRON_BUILDER_CACHE/wine
script:
- npm run devInstall:64
- npm run build
- stage: Windows Build
os: windows
script:
- export NPM_CONFIG_PREFIX=C:\\npm_prefix
- export PATH="/c/npm_prefix:$PATH"
- npm i -g npm@latest
- npm run devInstall
- npm run build
- stage: GitHub Release
@ -36,6 +35,6 @@ jobs:
- builds/lightcord-win32-ia32.zip
- builds/lightcord-win32.exe
- builds/lightcord-linux-x64.zip
- builds/lightcord-darwin-x64.zip
- builds/lightcord-darwin.zip
on:
tags: true