File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,15 @@ jobs:
112112 - name : Move artifacts
113113 run : pnpm artifacts
114114 - name : build
115- run : pnpm build
115+ shell : bash
116+ run : |
117+ if [ "${{ matrix.host }}" = "windows-latest" ]; then
118+ pnpm build:serial
119+ else
120+ pnpm build
121+ fi
122+ env :
123+ NODE_OPTIONS : --max_old_space_size=4096
116124 - name : test
117125 run : pnpm test
118126 env :
Original file line number Diff line number Diff line change 2121 "preinstall" : " npx only-allow pnpm" ,
2222 "prepare" : " husky install" ,
2323 "build" : " pnpm -r --aggregate-output --filter=./packages/* prod" ,
24+ "build:serial" : " pnpm -r --workspace-concurrency=1 --aggregate-output --filter=./packages/* prod" ,
2425 "build:binding:debug" : " pnpm --filter @tarojs/binding run build:debug" ,
2526 "build:binding:release" : " pnpm --filter @tarojs/binding run build" ,
2627 "debug" : " node scripts/debug.js" ,
You can’t perform that action at this time.
0 commit comments