File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 3838
3939 # 运行文档构建命令
4040 $DOCKER_COMPOSE run --rm mockm-dev \
41- sh -c "cd doc && cross-env NODE_OPTIONS=--openssl-legacy-provider vuepress build . --config .vuepress/config.github.js"
41+ sh -c "git config --global --add safe.directory /workspace && cd doc && pnpm run build -- --config .vuepress/config.github.js"
4242
4343 - name : Copy test resources
4444 run : |
8989
9090 # 构建服务端包
9191 $DOCKER_COMPOSE run --rm mockm-dev \
92- sh -c "cd release && pnpm run build"
92+ sh -c "git config --global --add safe.directory /workspace && cd release && pnpm run build"
9393
9494 - name : Get package info
9595 run : |
Original file line number Diff line number Diff line change 11{
22 "scripts" : {
33 "// prestart" : " npx shx cp ../README.md ./" ,
4- "start" : " cross-env NODE_OPTIONS=--openssl-legacy-provider vuepress dev ." ,
5- "build" : " cross-env NODE_OPTIONS=--openssl-legacy-provider vuepress build ."
4+ "start" : " npx cross-env NODE_OPTIONS=--openssl-legacy-provider vuepress dev ." ,
5+ "build" : " npx cross-env NODE_OPTIONS=--openssl-legacy-provider vuepress build ."
66 },
77 "env" : {
88 "node" : " 20.19.4" ,
You can’t perform that action at this time.
0 commit comments