diff --git a/.github/workflows/test-contract.yml b/.github/workflows/test-contract.yml index f0e2da7..47c9cac 100644 --- a/.github/workflows/test-contract.yml +++ b/.github/workflows/test-contract.yml @@ -11,10 +11,7 @@ on: jobs: test: - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ubuntu-latest, windows-latest, macos-latest] + runs-on: ubuntu-latest steps: - name: Checkout repository @@ -23,19 +20,19 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v3 with: - node-version: "18" + node-version: "20" - name: Install dependencies run: npm install - working-directory: ./toban/pkgs/contract + working-directory: ./pkgs/contract - name: Run Hardhat tests run: npx hardhat test - working-directory: ./toban/pkgs/contract + working-directory: ./pkgs/contract # ガスレポートをアーティファクトとして保存 - name: Upload Gas Report uses: actions/upload-artifact@v3 with: name: gas-report - path: ./toban/pkgs/contract/gas-report.txt + path: ./pkgs/contract/gas-report.txt