Skip to content

Commit 2b6c410

Browse files
committed
actually build the app
1 parent 0713337 commit 2b6c410

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

scripts/verdaccio.sh

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,18 @@ then
8383
mv dist/production/docs $verdaccio_path
8484

8585
# install packages in CRA test app
86-
cd examples/rsp-cra-18-webpack-4
86+
cd examples/rsp-cra-18
87+
yarn install
88+
89+
# Build CRA test app and move to dist folder. Store the size of the build in a text file.
90+
yarn build | tee build-stats.txt
91+
du -ka build/ | tee -a build-stats.txt
92+
mkdir -p ../../$verdaccio_path/publish-stats
93+
mv build-stats.txt ../../
94+
mv build ../../$verdaccio_path
95+
96+
# install packages in webpack 4 test app
97+
cd ../../examples/rsp-webpack-4
8798
yarn install
8899

89100
# Build CRA test app and move to dist folder. Store the size of the build in a text file.

0 commit comments

Comments
 (0)