diff --git a/.github/workflows/ci/linux.yml b/.github/workflows/ci/linux.yml new file mode 100644 index 0000000..837256f --- /dev/null +++ b/.github/workflows/ci/linux.yml @@ -0,0 +1,21 @@ +name: Build Linux Client + +on: [push, pull_request] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - name: Clone source code + uses: actions/checkout@v1 + - name: Use Node.js + uses: actions/setup-node@v1 + with: + node-version: 10.x + - name: Install dependencies and build + run: | + npm install + npm run build --if-present + npm run build-desktop-linux \ No newline at end of file diff --git a/.github/workflows/ci/mac.yml b/.github/workflows/ci/mac.yml new file mode 100644 index 0000000..83da9c2 --- /dev/null +++ b/.github/workflows/ci/mac.yml @@ -0,0 +1,21 @@ +name: Build macOS Client + +on: [push, pull_request] + +jobs: + build: + + runs-on: macos-latest + + steps: + - name: Clone source code + uses: actions/checkout@v1 + - name: Use Node.js + uses: actions/setup-node@v1 + with: + node-version: 10.x + - name: Install dependencies and build + run: | + npm install + npm run build --if-present + npm run build-desktop-darwin-nosign \ No newline at end of file diff --git a/.github/workflows/ci/standard.yml b/.github/workflows/ci/standard.yml new file mode 100644 index 0000000..9a21f54 --- /dev/null +++ b/.github/workflows/ci/standard.yml @@ -0,0 +1,26 @@ +name: Node CI + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [8.x, 10.x, 12.x] + + steps: + - name: Clone source code + uses: actions/checkout@v1 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - name: Install dependencies and build + run: | + npm install + npm run build --if-present + env: + CI: true \ No newline at end of file diff --git a/.github/workflows/ci/win.yml b/.github/workflows/ci/win.yml new file mode 100644 index 0000000..c884272 --- /dev/null +++ b/.github/workflows/ci/win.yml @@ -0,0 +1,21 @@ +name: Build Windows Client + +on: [push, pull_request] + +jobs: + build: + + runs-on: windows-latest + + steps: + - name: Clone source code + uses: actions/checkout@v1 + - name: Use Node.js + uses: actions/setup-node@v1 + with: + node-version: 10.x + - name: Install dependencies and build + run: | + npm install + npm run build --if-present + npm run build-desktop-win \ No newline at end of file