Skip to content

Commit

Permalink
♻️ Use pnpm scripts in CI
Browse files Browse the repository at this point in the history
Signed-off-by: Pascal Marco Caversaccio <[email protected]>
  • Loading branch information
pcaversaccio committed Dec 14, 2023
1 parent 2321f81 commit 9dabd5a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-createx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 9dabd5a

Please sign in to comment.