Skip to content

Commit

Permalink
Cache SOLC
Browse files Browse the repository at this point in the history
  • Loading branch information
noisekit committed Aug 18, 2023
1 parent 5f8e854 commit 862ee69
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,17 @@ jobs:
- run:
name: "Build TS"
command: yarn workspaces foreach --topological-dev --verbose run build:ts

- restore_cache:
keys:
- hardhat-{{ .Environment.SOLC_VERSION }}
- run:
name: "Generate docs for each contract"
command: yarn workspaces foreach --verbose run docgen
- save_cache:
key: hardhat-{{ .Environment.SOLC_VERSION }}
paths:
- "~/.cache/hardhat-nodejs"
- run:
name: "Generate combined smart-contracts.md"
command: yarn workspace @synthetixio/docgen run docgen:contracts
Expand Down

0 comments on commit 862ee69

Please sign in to comment.