From 194f59927bb672eae3ea241f4b44c9acee552be8 Mon Sep 17 00:00:00 2001 From: nfttakerun Date: Sat, 28 Sep 2024 16:20:04 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=86=E3=82=B9=E3=83=88=E5=AE=9F=E8=A1=8C?= =?UTF-8?q?=E3=81=A8=E3=82=AC=E3=82=B9=E3=83=AC=E3=83=9D=E3=83=BC=E3=83=88?= =?UTF-8?q?=E3=82=92GitHub=20Actions=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test-contract.yml | 2 ++ pkgs/contract/.env.example | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-contract.yml b/.github/workflows/test-contract.yml index 47c9cac..5484265 100644 --- a/.github/workflows/test-contract.yml +++ b/.github/workflows/test-contract.yml @@ -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 diff --git a/pkgs/contract/.env.example b/pkgs/contract/.env.example index 17ab3ec..afd7b8c 100644 --- a/pkgs/contract/.env.example +++ b/pkgs/contract/.env.example @@ -1,4 +1,4 @@ -PRIVATE_KEY="xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80" +PRIVATE_KEY="" ETHERSCAN_API_KEY="" ALCHEMY_API_KEY="" GAS_REPORT=