2929 runs-on : " depot-ubuntu-24.04-small"
3030 strategy :
3131 matrix :
32- node-version : [18, 20, 22]
32+ node-version : [20, 22, 24 ]
3333 needs : " paths-filter"
3434 if : |
3535 needs.paths-filter.outputs.codechange == 'true'
@@ -41,19 +41,18 @@ jobs:
4141 - uses : " actions/setup-node@v6"
4242 with :
4343 node-version : ${{ matrix.node-version }}
44- cache-dependency-path : ./package.json
45- cache : " yarn"
46- - uses : " bahmutov/npm-install@v1"
44+ - uses : " pnpm/action-setup@v6"
4745 with :
48- useLockFile : false
49- - name : Run Yarn tests
50- run : " CI=true yarn only-run-tests"
46+ cache : true
47+ run_install : true
48+ - name : Run tests
49+ run : " CI=true pnpm only-run-tests"
5150 build-js-client :
5251 name : " Build and Test JS client"
5352 runs-on : " depot-ubuntu-24.04-small"
5453 strategy :
5554 matrix :
56- node-version : [18, 20, 22]
55+ node-version : [20, 22, 24 ]
5756 needs : " paths-filter"
5857 if : |
5958 needs.paths-filter.outputs.codechange == 'true'
@@ -65,20 +64,15 @@ jobs:
6564 - uses : actions/setup-node@v6
6665 with :
6766 node-version : ${{ matrix.node-version }}
68- cache-dependency-path : ./package.json
69- cache : " yarn"
70- - uses : bahmutov/npm-install@v1
67+ - uses : " pnpm/action-setup@v6"
7168 with :
72- useLockFile : false
69+ cache : true
70+ run_install : true
7371 - name : Run build
74- run : yarn build-js-client
72+ run : pnpm build-js-client
7573 working-directory : ./
76- - uses : bahmutov/npm-install@v1
77- with :
78- useLockFile : false
79- working-directory : ./js-dist
8074 - name : Run tests
81- run : CI=true yarn only-run-tests
75+ run : CI=true pnpm only-run-tests
8276 working-directory : ./js-dist
8377 - uses : actions/upload-artifact@v6
8478 with :
0 commit comments