We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d632e1 commit 9ba4d50Copy full SHA for 9ba4d50
.github/workflows/test.yml
@@ -26,9 +26,12 @@ jobs:
26
uses: pnpm/action-setup@v4
27
with:
28
run_install: true
29
-
+
30
+ - name: Format check
31
+ run: pnpm prettier --check .
32
33
- name: Run hardhat tests
- env:
34
+ env:
35
NODE_OPTIONS: "--experimental-loader ts-node/esm/transpile-only --no-warnings=ExperimentalWarning"
36
run: pnpm hardhat test
37
package.json
@@ -5,6 +5,7 @@
5
"scripts": {
6
"test": "FORGE_SNAPSHOT_EMIT=false forge test && FOUNDRY_PROFILE=hardhat pnpm hardhat test",
7
"compile": "forge compile && FOUNDRY_PROFILE=hardhat pnpm hardhat compile",
8
+ "format": "prettier --write .",
9
"snapshots": "sh ./generate-snapshots.sh",
10
"clean": "rm -rf cache_hardhat cache coverage artifacts"
11
},
0 commit comments