We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f5d8b1d commit 81e2347Copy full SHA for 81e2347
1 file changed
.github/workflows/ci.yml
@@ -318,12 +318,22 @@ jobs:
318
repository: 'oceanprotocol/ocean.js'
319
path: 'ocean.js'
320
ref: main
321
+ - name: Cache ocean.js node_modules
322
+ uses: actions/cache@v3
323
+ with:
324
+ path: ocean.js/node_modules
325
+ key: ${{ runner.os }}-oceanjs-${{ hashFiles('ocean.js/package-lock.json') }}
326
- name: Build ocean-js
327
working-directory: ${{ github.workspace }}/ocean.js
328
run: |
329
npm ci
330
npm run build
331
npm link
332
+ - name: Cache ocean-cli node_modules
333
334
335
+ path: ocean-cli/node_modules
336
+ key: ${{ runner.os }}-oceancli-${{ hashFiles('ocean-cli/package-lock.json') }}
337
- name: Setup Ocean CLI
338
working-directory: ${{ github.workspace }}/ocean-cli
339
0 commit comments