-
Notifications
You must be signed in to change notification settings - Fork 28
39 lines (37 loc) · 852 Bytes
/
main.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
name: Checks
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
check_server:
name: Check server
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Build
run: cd server && dotnet build
check_client:
name: Check client
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 20.x
- name: Install yarn
run: npm install --global yarn
- name: Install packages
run: cd client && yarn install
- name: Lint
run: cd client && yarn lint
- name: Build
run: cd client && yarn build