Skip to content

Commit f139847

Browse files
committed
chore(rpc/docs): fix cache node/npm in gh workflow
1 parent 613ee40 commit f139847

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/openrpc-docs.yml

+7-6
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,6 @@ jobs:
2222
- name: Checkout
2323
uses: actions/checkout@v4
2424

25-
- name: Setup node.js
26-
uses: actions/setup-node@v4
27-
with:
28-
node-version: 16
29-
cache: 'npm'
30-
3125
- name: Rust cache
3226
uses: swatinem/rust-cache@v2
3327

@@ -90,6 +84,13 @@ jobs:
9084
],
9185
}" > gatsby-config.js
9286
87+
- name: Setup node.js
88+
uses: actions/setup-node@v4
89+
with:
90+
node-version: 16
91+
cache: 'npm'
92+
cache-dependency-path: ./docs/rpc/docs/gatsby/package-lock.json
93+
9394
- name: Install dependencies
9495
working-directory: ./docs/rpc/docs/gatsby
9596
run: |

0 commit comments

Comments
 (0)