Skip to content

Commit 8ec0c76

Browse files
committed
update docs-build and add yarn.lock
1 parent c70f65d commit 8ec0c76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/docs-build

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
77
if hash docker 2>/dev/null; then
88
cd "${DIR}/.."
99
echo -e "${BLUE}${CYAN}Building Docs ...${RESET}"
10-
docker run --rm -e CI=true -v "$(pwd)/docs:/app/docs" -w /app/docs node:alpine sh -c "yarn install && yarn build && chown -R $(id -u):$(id -g) /app/docs"
10+
docker run --rm -e CI=true -v "$(pwd)/docs:/app/docs" -w /app/docs node:alpine sh -c "yarn set version berry && yarn install && yarn build && chown -R $(id -u):$(id -g) /app/docs"
1111
echo -e "${BLUE}${GREEN}Building Docs Complete${RESET}"
1212
else
1313
echo -e "${RED}❯ docker command is not available${RESET}"

0 commit comments

Comments
 (0)