-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ci): add hardhat cache as artifact
- Loading branch information
1 parent
cb6a352
commit 94ed6b6
Showing
2 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,7 +66,21 @@ jobs: | |
- name: Install dependencies | ||
run: yarn --frozen-lockfile | ||
|
||
|
||
- name: Load cache | ||
uses: dawidd6/[email protected] | ||
with: | ||
name: hardhat-cache | ||
path: cache | ||
if_no_artifact_found: ignore | ||
|
||
- name: Run e2e test suite | ||
run: yarn test:e2e | ||
env: | ||
RPC_URL: ${{ secrets.RPC_URL }} | ||
|
||
- name: Save cache | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: hardhat-cache | ||
path: cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters