4
0
mirror of https://github.com/AltarikMC/Launcher synced 2025-12-13 11:41:45 +00:00

Improved ram selection + improved UX + added CI (may not work)

This commit is contained in:
2020-12-19 13:38:59 +01:00
committed by Quentin Legot
parent bc5c5e0292
commit 48502d4e64
3 changed files with 68 additions and 14 deletions

27
.github/workflows/electron.yml vendored Normal file
View File

@@ -0,0 +1,27 @@
name: CI
on: [ push ]
jobs:
build:
strategy:
matrix:
os: [ ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14
uses: actions/setup-node@v1
with:
node-version: 14.x
- name: Get npm cache directory
id: npm-cache
run: |
echo "::set-output name=dir::$(npm config get cache)"
- uses: actions/cache@v2
with:
path: ${{ steps.npm-cache.outputs.dir }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Intall dependencies
run: npm ci
- run: npm run make --if-present