Skip to content

Commit

Permalink
テスト実行とガスレポートをGitHub Actionsに
Browse files Browse the repository at this point in the history
  • Loading branch information
takerunakao committed Sep 28, 2024
1 parent f3afaa5 commit 194f599
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/test-contract.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ jobs:
- name: Run Hardhat tests
run: npx hardhat test
working-directory: ./pkgs/contract
env:
PRIVATE_KEY: "0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80"

# ガスレポートをアーティファクトとして保存
- name: Upload Gas Report
Expand Down
2 changes: 1 addition & 1 deletion pkgs/contract/.env.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PRIVATE_KEY="xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80"
PRIVATE_KEY=""
ETHERSCAN_API_KEY=""
ALCHEMY_API_KEY=""
GAS_REPORT=
Expand Down

0 comments on commit 194f599

Please sign in to comment.