-
-
Notifications
You must be signed in to change notification settings - Fork 66
44 lines (33 loc) · 860 Bytes
/
build.yml
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
34
35
36
37
38
39
40
41
42
43
44
name: Build CI
on:
workflow_call:
workflow_dispatch:
jobs:
build-frontend:
name: Build frontend
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
- name: Build devel
run: make --directory=frontend devel
- name: Build prod
run: make --directory=frontend prod
build-api:
name: Build API
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: ${{ env.GO_VERSION }}
- name: Build devel
run: make --directory=api devel
- name: Build prod
run: make --directory=api prod