-
Notifications
You must be signed in to change notification settings - Fork 14
61 lines (58 loc) · 1.62 KB
/
tokenization.yml
File metadata and controls
61 lines (58 loc) · 1.62 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
52
53
54
55
56
57
58
59
60
61
name: Tokenization
on:
pull_request:
paths:
- 'Tokenization/**/*'
- '.github/workflows/tokenization.yml'
push:
branches:
- 'dev'
jobs:
lint-check-backend:
name: Check eslint rules for backend on ubuntu-latest
runs-on: ubuntu-latest
timeout-minutes: 6
steps:
- uses: actions/checkout@v6
- name: Setup node
uses: actions/setup-node@v6
with:
node-version: '22.x'
- run: (cd Tokenization/backend/central-system; npm i)
lint-check-webapp:
name: Check eslint rules for webapp on ubuntu-latest
runs-on: ubuntu-latest
timeout-minutes: 6
steps:
- uses: actions/checkout@v6
- name: Setup node
uses: actions/setup-node@v6
with:
node-version: '22.x'
- run: (cd Tokenization/webapp; npm i )
- run: (cd Tokenization/webapp; npm run typecheck)
- run: (cd Tokenization/webapp; npm run lint)
ui-test:
needs: lint-check-webapp
name: UI-tests for webapp application
runs-on: ubuntu-latest
timeout-minutes: 6
steps:
- uses: actions/checkout@v6
- name: Setup node
uses: actions/setup-node@v6
with:
node-version: '22.x'
- run: (cd Tokenization/webapp; npm run docker:test)
central-system-test:
needs: lint-check-backend
name: Central System backend tests
runs-on: ubuntu-latest
timeout-minutes: 6
steps:
- uses: actions/checkout@v6
- name: Setup node
uses: actions/setup-node@v6
with:
node-version: '22.x'
- run: (cd Tokenization/backend/central-system; npm i; npm run test)