-
Notifications
You must be signed in to change notification settings - Fork 10
53 lines (44 loc) · 1.46 KB
/
deserializer-test.yml
File metadata and controls
53 lines (44 loc) · 1.46 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
name: Dataprotector deserializer tests
on:
pull_request:
branches:
- '*'
paths:
- 'packages/dataprotector-deserializer/**' # Trigger the workflow on changes to files in the packages/dataprotector-deserializer directory
jobs:
build-test:
name: Build test dependency dataprotector-sdk
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- name: Build et tests de dataprotector-sdk # I think this dependency is not necessary
working-directory: packages/sdk
run: |
npm ci
npm run codegen
npm run build
- name: Install and prepare dataprotector-deserializer
working-directory: packages/dataprotector-deserializer
run: |
node -v
npm -v
npm ci
npm run test:prepare
- name: Check format
working-directory: packages/dataprotector-deserializer
run: npm run check-format
- name: Lint
working-directory: packages/dataprotector-deserializer
run: npm run lint
- name: Check types
working-directory: packages/dataprotector-deserializer
run: npm run check-types
- name: Execute tests
working-directory: packages/dataprotector-deserializer
run: npm run test
- name: Build final
working-directory: packages/dataprotector-deserializer
run: npm run build