From 9dabd5ac1a97b59cd372e54dfbb3d6e2b349afbb Mon Sep 17 00:00:00 2001 From: Pascal Marco Caversaccio Date: Thu, 14 Dec 2023 23:35:32 +0100 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20=20Use=20`pnpm`=20scripts?= =?UTF-8?q?=20in=20CI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Pascal Marco Caversaccio --- .github/workflows/test-createx.yml | 4 ++-- package.json | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-createx.yml b/.github/workflows/test-createx.yml index 5976deb4..cdae7974 100644 --- a/.github/workflows/test-createx.yml +++ b/.github/workflows/test-createx.yml @@ -67,13 +67,13 @@ jobs: - name: Ensure Solidity version consistency run: | version_foundry=$(forge config --json | jq -r ".solc") - version_hh=$(npx hardhat solc) + version_hh=$(pnpm solc) if [[ $version_foundry != "0.8.23" ]] || [[ $version_foundry != $version_hh ]]; then exit 1; fi - name: Ensure `paris` as EVM version run: | version_foundry=$(forge config --json | jq -r ".evm_version") - version_hh=$(npx hardhat evm) + version_hh=$(pnpm evm) if [[ $version_foundry != "paris" ]] || [[ $version_foundry != $version_hh ]]; then exit 1; fi - name: Set up Go diff --git a/package.json b/package.json index 46a2d0d4..823d0672 100644 --- a/package.json +++ b/package.json @@ -31,6 +31,7 @@ "size": "npx hardhat size-contracts", "abi": "npx hardhat export-abi", "vars:path": "npx hardhat vars path", + "solc": "npx hardhat solc", "evm": "npx hardhat evm", "presign": "npx hardhat run --no-compile scripts/presign.ts", "deploy:hh": "npx hardhat run --no-compile --network hardhat scripts/deploy.ts",