2023-10-08 18:44:10 +02:00
|
|
|
name: Build app
|
2024-05-08 20:25:17 +02:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
2023-10-08 18:44:10 +02:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ${{ matrix.runner }}
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2023-10-08 21:14:40 +02:00
|
|
|
runner: [ windows-latest ]
|
2023-10-08 18:44:10 +02:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v1
|
|
|
|
- name: Setup Node.js environment
|
|
|
|
uses: actions/setup-node@v3.8.1
|
|
|
|
with:
|
|
|
|
node-version: 16.20.2
|
|
|
|
- name: Install yarn
|
|
|
|
run: npm i -g yarn
|
|
|
|
- name: Install dependencies
|
|
|
|
run: yarn
|
|
|
|
- name: Build Project
|
|
|
|
run: yarn make
|
|
|
|
- name: Archive production artifacts
|
|
|
|
uses: kittaakos/upload-artifact-as-is@v0
|
|
|
|
with:
|
|
|
|
path: |
|
|
|
|
out/*.*
|
|
|
|
|