Skip to content

Commit 1cad937

Browse files
committed
fix VERDACCIO env variable during build
1 parent 3dbe270 commit 1cad937

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/verdaccio-build-s2-next.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ echo 'build Spectrum 2 + Next.js test app'
3434
cd examples/s2-next-macros
3535
yarn config set npmRegistryServer $registry
3636
yarn install --no-immutable
37-
yarn build
37+
VERDACCIO=true yarn build
3838
mv out ../../$verdaccio_path/s2-next-macros
3939

4040
netstat -tpln | awk -F'[[:space:]/:]+' '$5 == 4000 {print $(NF-2)}' | xargs kill

scripts/verdaccio.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ then
166166
cd ../../examples/s2-next-macros
167167
yarn config set npmRegistryServer $registry
168168
yarn install --no-immutable
169-
yarn build
169+
VERDACCIO=true yarn build
170170
mv out ../../$verdaccio_path/s2-next-macros
171171

172172
echo 'test icon builder'

0 commit comments

Comments
 (0)