-
Notifications
You must be signed in to change notification settings - Fork 106
60 lines (50 loc) · 1.78 KB
/
healthcheck-libraries.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
name: Check health of libraries
on:
workflow_dispatch:
push:
paths:
- "Common/**"
- "Signalling/**"
- "SignallingWebServer/**"
- "Frontend/library/**"
- "Frontend/ui-library/**"
- "Frontend/implementations/typescript/**"
pull_request:
paths:
- "Common/**"
- "Signalling/**"
- "SignallingWebServer/**"
- "Frontend/library/**"
- "Frontend/ui-library/**"
- "Frontend/implementations/typescript/**"
env:
NODE_VERSION: 18.17.x
jobs:
build-using-local-deps:
if: github.repository == 'EpicGamesExt/PixelStreamingInfrastructure'
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version: "${{ env.NODE_VERSION }}"
registry-url: 'https://registry.npmjs.org'
- name: Clean build and lint checks on common library
working-directory: Common
run: npm install && npm run build && npm run lint
- name: Clean build and lint checks on signalling library
working-directory: Signalling
run: npm install && npm run build && npm run lint
- name: Clean build and lint checks on wilbur
working-directory: SignallingWebServer
run: npm install && npm run build && npm run lint
- name: Clean build, lint and unit tests on frontend library
working-directory: Frontend/library
run: npm install && npm run build && npm run lint && npm run test
- name: Clean build and lint checks on frontend ui library
working-directory: Frontend/ui-library
run: npm install && npm run build && npm run lint
- name: Clean build of frontend implementation
working-directory: Frontend/implementations/typescript
run: npm install && npm run build