-
Notifications
You must be signed in to change notification settings - Fork 7
39 lines (35 loc) · 934 Bytes
/
dotnet-core.yml
File metadata and controls
39 lines (35 loc) · 934 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
name: CI
on:
push:
branches: [ master, develop ]
pull_request:
branches: [ master, develop ]
jobs:
job:
name: Build and Test
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: '8.0.x'
- name: Install dependencies
run: dotnet restore
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '20.x'
- name: Install dependencies
working-directory: ./FactorioWebInterface
run: npm install
- name: Build frontend
working-directory: ./FactorioWebInterface
run: npm run release
- name: Test frontend
working-directory: ./FactorioWebInterface
run: npm run test
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Test
run: dotnet test --no-restore --verbosity normal