Skip to content

Commit

Permalink
chore(rpc/docs): fix cache node/npm in gh workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
snormore committed Jun 18, 2024
1 parent 613ee40 commit f139847
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/openrpc-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Setup node.js
uses: actions/setup-node@v4
with:
node-version: 16
cache: 'npm'

- name: Rust cache
uses: swatinem/rust-cache@v2

Expand Down Expand Up @@ -90,6 +84,13 @@ jobs:
],
}" > gatsby-config.js
- name: Setup node.js
uses: actions/setup-node@v4
with:
node-version: 16
cache: 'npm'
cache-dependency-path: ./docs/rpc/docs/gatsby/package-lock.json

- name: Install dependencies
working-directory: ./docs/rpc/docs/gatsby
run: |
Expand Down

0 comments on commit f139847

Please sign in to comment.