Skip to content

Commit 9751d03

Browse files
authored
fix: use --frozen-lockfile in pnpm install (#48)
1 parent 8bfc2c9 commit 9751d03

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,12 @@ cp docs.json website-docs/docs/docs.json
6767
# Run the start command for development environment. <https://www.gatsbyjs.com/docs/reference/gatsby-cli/#develop>
6868
if [ "$CMD" == "start" ]; then
6969
mkdir -p website-docs/.cache
70-
(cd website-docs && pnpm install --no-frozen-lockfile && pnpm start)
70+
(cd website-docs && pnpm install --frozen-lockfile && pnpm start)
7171
fi
7272

7373
# Run the build command for production environment. <https://www.gatsbyjs.com/docs/reference/gatsby-cli/#build>
7474
if [ "$CMD" == "build" ]; then
7575
replace_image_path
76-
(cd website-docs && pnpm install --no-frozen-lockfile && pnpm build)
76+
(cd website-docs && pnpm install --frozen-lockfile && pnpm build)
7777
move_images
7878
fi

0 commit comments

Comments
 (0)