Skip to content

Merge pull request #214 from pacinor/dev #174

Merge pull request #214 from pacinor/dev

Merge pull request #214 from pacinor/dev #174

Workflow file for this run

name: "Build/PullRequest"
on:
push:
branches:
- dev
paths-ignore:
- "**.md"
- "**.spec.js"
- ".idea"
- ".vscode"
- ".dockerignore"
- "Dockerfile"
- ".gitignore"
- ".github/**"
- "!.github/workflows/*.yml"
defaults:
run:
shell: "bash"
jobs:
build:
# see more environment https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idruns-on
runs-on: ${{ matrix.os }}
strategy:
matrix:
node: ["20"]
os: [windows-latest, ubuntu-latest, macos-latest]
arch: ["x64", "arm64"]
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_OPTIONS: "--max_old_space_size=6144"
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: pnpm/action-setup@v3
with:
version: latest
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm i
- name: Compile Electron app
run: pnpm make
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: maax-nightly-${{ matrix.os }}-${{ matrix.arch }}
path: ./out/maa-x*