File tree Expand file tree Collapse file tree 3 files changed +65
-87
lines changed
packages/dataprotector-deserializer Expand file tree Collapse file tree 3 files changed +65
-87
lines changed Original file line number Diff line number Diff line change 1+ name : Publish dataprotector-deserializer on npm
2+
3+ on :
4+ push :
5+ tags :
6+ - " dataprotector-deserializer-v*"
7+
8+ jobs :
9+ build-test :
10+ uses : iExecBlockchainComputing/github-actions-workflows/.github/workflows/publish-npm.yml@feat/publish-npm/init-publish-npm
11+ with :
12+ scope : ' '
Original file line number Diff line number Diff line change 1+ name : dataprotector-deserializer-default
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - ' *'
7+ paths :
8+ - ' packages/dataprotector-deserializer/**'
9+
10+ jobs :
11+ build_test_dependency :
12+ name : Build test dependency dataprotector-sdk
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : actions/checkout@v4
16+ - uses : actions/setup-node@v4
17+ with :
18+ node-version : 18
19+
20+ - name : Build et tests de dataprotector-sdk # Not necessary for the deserializer ?
21+ working-directory : packages/sdk
22+ run : |
23+ npm ci
24+ npm run codegen
25+ npm run build
26+
27+ - name : Install dependencies
28+ working-directory : packages/dataprotector-deserializer
29+ run : |
30+ node -v
31+ npm -v
32+ npm ci
33+ npm run test:prepare
34+
35+ - name : Check format
36+ working-directory : packages/dataprotector-deserializer
37+ run : npm run check-format
38+
39+ - name : Lint
40+ working-directory : packages/dataprotector-deserializer
41+ run : npm run lint
42+
43+ - name : Check types
44+ working-directory : packages/dataprotector-deserializer
45+ run : npm run check-types
46+
47+ - name : Execute tests
48+ working-directory : packages/dataprotector-deserializer
49+ run : npm run test
50+
51+ - name : Build final
52+ working-directory : packages/dataprotector-deserializer
53+ run : npm run build
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments