Commit 74110fd 1 parent ee92534 commit 74110fd Copy full SHA for 74110fd
File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11
11
cd " $( git rev-parse --show-toplevel) "
12
12
13
13
# install dependencies
14
- yarn
14
+ pnpm install
15
15
16
16
# run hardhat tests
17
17
cd packages/hardhat-core
18
- yarn test
18
+ pnpm test
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ const isGithubActions = process.env.GITHUB_WORKFLOW !== undefined;
13
13
const isLinux = os . type ( ) === "Linux" ;
14
14
const isWindows = os . type ( ) === "Windows_NT" ;
15
15
16
- shell . exec ( "yarn build" ) ;
16
+ shell . exec ( "pnpm build" ) ;
17
17
18
18
// ** check for packages to be ignored ** //
19
19
@@ -23,7 +23,7 @@ const shouldIgnoreSolppTests = isWindows;
23
23
const ignoredPackagesList = [ ] ;
24
24
25
25
if ( shouldIgnoreSolppTests ) {
26
- ignoredPackagesList . push ( "--exclude @nomiclabs/hardhat-solpp" ) ;
26
+ ignoredPackagesList . push ( "--filter=! @nomiclabs/hardhat-solpp" ) ;
27
27
}
28
28
29
29
const ignoredPackages = ignoredPackagesList . join ( " " ) ;
@@ -32,8 +32,8 @@ function runTests() {
32
32
console . time ( "Total test time" ) ;
33
33
34
34
try {
35
- const fastExit = process . env . NO_FAST_EXIT ? "" : "--fast-exit " ;
36
- const command = `yarn wsrun --serial ${ fastExit } --exclude-missing ${ ignoredPackages } test` ;
35
+ const fastExit = process . env . NO_FAST_EXIT ? "--no-bail " : "--bail " ;
36
+ const command = `pnpm run --recursive --workspace-concurrency 1 ${ fastExit } ${ ignoredPackages } test` ;
37
37
38
38
shell . exec ( command ) ;
39
39
} finally {
You can’t perform that action at this time.
0 commit comments