File tree Expand file tree Collapse file tree 3 files changed +32
-1
lines changed Expand file tree Collapse file tree 3 files changed +32
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Test
2+
3+ on : [push]
4+
5+ jobs :
6+ test :
7+ runs-on : ubuntu-20.04
8+ strategy :
9+ matrix :
10+ node-version : [20]
11+
12+ steps :
13+ - uses : actions/checkout@v4
14+ - uses : pnpm/action-setup@v4
15+
16+ - name : Use Node.js ${{ matrix.node-version }}
17+ uses : actions/setup-node@v4
18+ with :
19+ node-version : ${{ matrix.node-version }}
20+ cache : " pnpm"
21+
22+ - name : Install dependencies
23+ run : pnpm install --frozen-lockfile
24+
25+ - name : Run tests
26+ # TODO(security): test all packages & apps (js, noir & rust)
27+ run : cd packages/contracts && pnpm test
Original file line number Diff line number Diff line change 22 "name" : " @repo/monorepo" ,
33 "type" : " module" ,
44 "private" : true ,
5+ "packageManager" : " pnpm@9.15.4" ,
56 "devDependencies" : {
67 "prettier-plugin-svelte" : " ^3.2.7" ,
78 "typescript" : " ^5.6.3"
Original file line number Diff line number Diff line change @@ -6,7 +6,10 @@ import { zPrivateKey } from "./shared/utils";
66 * Parse env variables in a typesafe way.
77 */
88const EnvConfigSchema = z . object ( {
9- DEPLOYER_PRIVATE_KEY : zPrivateKey ( ) ,
9+ DEPLOYER_PRIVATE_KEY : zPrivateKey ( ) . default (
10+ // random key
11+ "0x845074c29c6487a92fa902e06" + "f1a1fe1ac0eb801fd6624b0a486e3c04a75721f" ,
12+ ) ,
1013} ) ;
1114
1215let envConfig : z . infer < typeof EnvConfigSchema > ;
You can’t perform that action at this time.
0 commit comments