-
Notifications
You must be signed in to change notification settings - Fork 1
61 lines (61 loc) · 1.53 KB
/
ci.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
61
name: CI
on:
pull_request:
branches:
- main
- develop
jobs:
test-alcs-frontend:
defaults:
run:
working-directory: alcs-frontend
strategy:
matrix:
platform: [ubuntu-latest]
node: ["18"]
name: ALCS Frontend Tests - ${{ matrix.node }}/${{ matrix.platform }}
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@master
with:
node-version: ${{ matrix.node }}
- run: npm ci
- run: npm run build
- run: npm run test:ci
test-portal-frontend:
defaults:
run:
working-directory: portal-frontend
strategy:
matrix:
platform: [ubuntu-latest]
node: ["18"]
name: Portal Frontend Tests - ${{ matrix.node }}/${{ matrix.platform }}
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@master
with:
node-version: ${{ matrix.node }}
- run: npm ci
- run: npm run build
- run: npm run test:ci
test-api:
defaults:
run:
working-directory: services
strategy:
matrix:
platform: [ubuntu-latest]
node: ["20"]
name: API Tests - ${{ matrix.node }}/${{ matrix.platform }}
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@master
with:
node-version: ${{ matrix.node }}
- run: npm install
- run: npm run build
- run: npm run test