File tree Expand file tree Collapse file tree 1 file changed +13
-22
lines changed
Expand file tree Collapse file tree 1 file changed +13
-22
lines changed Original file line number Diff line number Diff line change 66 - ' *'
77 paths :
88 - ' packages/dataprotector-deserializer/**'
9+ concurrency :
10+ group : ${{ github.ref }}-deserializer-ci
11+ cancel-in-progress : true
912
1013jobs :
11- default :
12- name : Test and Build
14+ build-and-test :
1315 runs-on : ubuntu-latest
14-
1516 steps :
16- - name : Checkout code
17- uses : actions/checkout@v4
17+ - uses : actions/checkout@v4
1818
19- - name : Setup Node.js
20- uses : actions/setup-node@v4
19+ - uses : actions/setup-node@v4
2120 with :
22- node-version : ' 18 '
21+ node-version : 18
2322 cache : ' npm'
23+ cache-dependency-path : packages/dataprotector-deserializer/package-lock.json
2424
2525 - name : Build test dependencies in SDK package
2626 working-directory : packages/sdk
3232 - name : Install dependencies
3333 working-directory : packages/dataprotector-deserializer
3434 run : |
35- node -v
36- npm -v
3735 npm ci
3836 npm run test:prepare
3937
@@ -58,27 +56,20 @@ jobs:
5856 run : npm run build
5957
6058 publish-dry-run :
61- name : Publish Dry Run
6259 runs-on : ubuntu-latest
63- needs : default
64-
60+ needs : build-and-test
6561 steps :
66- - name : Checkout code
67- uses : actions/checkout@v4
62+ - uses : actions/checkout@v4
6863
69- - name : Setup Node.js
70- uses : actions/setup-node@v4
64+ - uses : actions/setup-node@v4
7165 with :
72- node-version : ' 18 '
66+ node-version : 18
7367 cache : ' npm'
7468 cache-dependency-path : packages/dataprotector-deserializer/package-lock.json
7569
7670 - name : Install dependencies
7771 working-directory : packages/dataprotector-deserializer
78- run : |
79- node -v
80- npm -v
81- npm ci
72+ run : npm ci
8273
8374 - name : Build
8475 working-directory : packages/dataprotector-deserializer
You can’t perform that action at this time.
0 commit comments