-
Notifications
You must be signed in to change notification settings - Fork 146
42 lines (36 loc) · 898 Bytes
/
test.yml
File metadata and controls
42 lines (36 loc) · 898 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
34
35
36
37
38
39
40
41
42
name: Server Test
on:
push:
branches: [main]
pull_request:
branches: [main, 'codefreeze-*']
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Checkout and setup Node
uses: ./.github/actions/setup-node
- name: Build UI
run: pnpm build:server
- uses: actions/setup-go@v3
with:
go-version-file: server/go.mod
cache-dependency-path: server/go.sum
cache: true
check-latest: true
- name: Set up Protoc
uses: arduino/setup-protoc@v1
with:
version: '3.x'
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: build
working-directory: server
run: make build
- name: test
working-directory: server
run: make test