File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,22 +16,27 @@ jobs:
1616
1717 - uses : actions/setup-node@v4
1818 with :
19- node-version : 22.12.0
19+ node-version : 22
20+ cache : ' npm'
2021
21- - name : Install dependencies
22- run : npm ci
22+ - name : install
23+ run : make install
2324
24- - name : Build
25- run : npm run build
25+ - name : protoc
26+ run : make protoc
27+
28+ - name : build
29+ run : make build
2630 env :
2731 NODE_OPTIONS : " --max-old-space-size=8192"
2832 MODE : production
2933 E2E : true
3034 E2E_WALLET : ${{ secrets.E2E_WALLET }}
3135
32- - name : Run Playwright tests
33- run : npx playwright test
36+ - name : e2e
37+ run : make test-creator-hub-e2e
3438 env :
39+ NODE_OPTIONS : " --max-old-space-size=8192"
3540 E2E_NAME : ${{ secrets.E2E_NAME }}
3641 E2E_PRIVATE_KEY : ${{ secrets.E2E_PRIVATE_KEY }}
3742 E2E_EXPIRATION_MINUTES : 10
Original file line number Diff line number Diff line change 7272 npx http-server public -p 8000 --cors -a localhost &
7373 sleep 5
7474
75- - name : e2e
76- run : make test-e2e
75+ - name : e2e inspector
76+ run : make test-inspector- e2e
7777 env :
7878 NODE_OPTIONS : " --max-old-space-size=8192"
Original file line number Diff line number Diff line change @@ -82,10 +82,6 @@ typecheck:
8282test :
8383 npm run test
8484
85- test-e2e :
86- make test-inspector-e2e
87- make test-creator-hub-e2e
88-
8985test-inspector-e2e :
9086 cd $(INSPECTOR_PATH ) /; npm run test:e2e
9187
Original file line number Diff line number Diff line change 7575 "postinstall" : " cross-env ELECTRON_RUN_AS_NODE=1 electron scripts/update-electron-vendors.js" ,
7676 "start" : " npm run watch" ,
7777 "test" : " npm run test:unit" ,
78- "test:e2e" : " cross-env E2E='true' npm run build && playwright test" ,
78+ "test:e2e" : " cross-env E2E='true' playwright test" ,
7979 "test:main" : " vitest run -r main --passWithNoTests" ,
8080 "test:preload" : " vitest run -r preload --passWithNoTests" ,
8181 "test:renderer" : " vitest run -r renderer --passWithNoTests" ,
You can’t perform that action at this time.
0 commit comments