-
-
Notifications
You must be signed in to change notification settings - Fork 10
33 lines (28 loc) · 784 Bytes
/
build.yml
File metadata and controls
33 lines (28 loc) · 784 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Build Application
on:
pull_request:
workflow_dispatch:
inputs:
target:
description: "Choose build branch"
required: true
default: "test-actions"
jobs:
build:
runs-on: ${{ matrix.os }}
environment: BUILD_APP
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.target || '' }}
- uses: actions/setup-node@v4
with:
node-version: 22
- run: yarn install --frozen-lockfile
- run: yarn build:package
env:
CONFIG_JSON: ${{ secrets.CONFIG_JSON }}
RENDERER_CONFIG: ${{ secrets.RENDERER_CONFIG }}