-
Notifications
You must be signed in to change notification settings - Fork 1
54 lines (50 loc) · 1.56 KB
/
ci.yml
File metadata and controls
54 lines (50 loc) · 1.56 KB
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
45
46
47
48
49
50
51
52
53
54
# Copyright (c) 2026, SoftlaneIT (https://softlaneit.com/) All Rights Reserved.
#
# SoftlaneIT licenses this file to you under the Apache License,
# Version 2.0 (the "LICENSE"); you may not use this file except
# in compliance with the LICENSE.
# You may obtain a copy of the LICENSE at
#
# https://softlaneit.com/LICENSE.txt
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the LICENSE is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the LICENSE for the
# specific language governing permissions and limitations
# under the LICENSE.
name: ServiceForge CI
on:
push:
branches: [main, dev]
pull_request:
branches: [main, dev]
jobs:
go-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.23.x"
- name: Verify modules build
run: |
cd services/api-gateway && go build ./cmd/server
cd ../auth-service && go build ./cmd/server
cd ../tenant-service && go build ./cmd/server
cd ../config-service && go build ./cmd/server
cd ../booking-service && go build ./cmd/server
ui-build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: apps/management-ui
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
- name: Install dependencies
run: npm install
- name: Build UI
run: npm run build