forked from baron/baron-sso
fix(frontend): use pnpm with no-frozen-lockfile to bypass docker mount issues
This commit is contained in:
@@ -61,7 +61,7 @@ ensure_frontend_dependencies() {
|
|||||||
echo "Installing frontend dependencies..."
|
echo "Installing frontend dependencies..."
|
||||||
if [ "$WORKSPACE_DIR" = "/common" ]; then
|
if [ "$WORKSPACE_DIR" = "/common" ]; then
|
||||||
npm install -g pnpm
|
npm install -g pnpm
|
||||||
(cd /common && npm install --legacy-peer-deps --no-fund --no-audit)
|
(cd /common && rm -rf node_modules .pnpm-store && npm install -g pnpm && pnpm config set store-dir /root/.pnpm-store && CI=true pnpm install --no-frozen-lockfile --ignore-scripts)
|
||||||
else
|
else
|
||||||
npm ci
|
npm ci
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ ensure_frontend_dependencies() {
|
|||||||
echo "Installing frontend dependencies..."
|
echo "Installing frontend dependencies..."
|
||||||
if [ "$WORKSPACE_DIR" = "/common" ]; then
|
if [ "$WORKSPACE_DIR" = "/common" ]; then
|
||||||
npm install -g pnpm
|
npm install -g pnpm
|
||||||
(cd /common && npm install --legacy-peer-deps --no-fund --no-audit)
|
(cd /common && rm -rf node_modules .pnpm-store && npm install -g pnpm && pnpm config set store-dir /root/.pnpm-store && CI=true pnpm install --no-frozen-lockfile --ignore-scripts)
|
||||||
else
|
else
|
||||||
npm ci
|
npm ci
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ ensure_frontend_dependencies() {
|
|||||||
echo "Installing frontend dependencies..."
|
echo "Installing frontend dependencies..."
|
||||||
if [ "$WORKSPACE_DIR" = "/common" ]; then
|
if [ "$WORKSPACE_DIR" = "/common" ]; then
|
||||||
npm install -g pnpm
|
npm install -g pnpm
|
||||||
(cd /common && npm install --legacy-peer-deps --no-fund --no-audit)
|
(cd /common && rm -rf node_modules .pnpm-store && npm install -g pnpm && pnpm config set store-dir /root/.pnpm-store && CI=true pnpm install --no-frozen-lockfile --ignore-scripts)
|
||||||
else
|
else
|
||||||
npm ci
|
npm ci
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user