-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (40 loc) · 1.03 KB
/
runner-admin-ci.yml
File metadata and controls
51 lines (40 loc) · 1.03 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
name: "[Runner Admin] CI"
on:
pull_request:
branches: [ main ]
paths: [ "src/**" ]
jobs:
api-unit-test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: src
steps:
- uses: actions/checkout@v3
- run: >-
docker run
-v $(pwd):/src
-w /src
mcr.microsoft.com/dotnet/sdk:6.0-bullseye-slim
dotnet test
GitLabKit.Runner.UnitTests/GitLabKit.Runner.UnitTests.csproj
--no-build
--collect:"XPlat Code Coverage"
client-lint:
runs-on: ubuntu-latest
defaults:
run:
working-directory: src/clientside
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v1
with:
node-version: '16.x'
- name: Cache node_modules
uses: actions/cache@v1
with:
path: src/clientside/node_modules
key: gk-gra-yarn-${{ hashFiles('src/clientside/yarn.lock') }}
restore-keys: gk-gra-yarn-
- run: yarn
- run: yarn lint