@@ -101,16 +101,12 @@ runs:
101101 run : |
102102 FLASH_ARGS=""
103103
104- # Enhanced CI(comment decorators detection and optimization
105104 if [ "${{ inputs.ci-optimized }}" == "true" ]; then
106105 FLASH_ARGS="$FLASH_ARGS --ci-mode"
107- echo "CI optimization enabled - high performance mode"
108106 elif [ "${{ inputs.ci-optimized }}" == "auto" ]; then
109107 FLASH_ARGS="$FLASH_ARGS --ci-mode"
110- echo "Auto-detecting CI environment for optimization"
111108 fi
112109
113- # Cloud cache configuration
114110 if [ "${{ inputs.cloud-cache }}" == "true" ]; then
115111 FLASH_ARGS="$FLASH_ARGS --cloud-cache --cloud-provider ${{ inputs.cloud-provider }}"
116112
@@ -123,42 +119,27 @@ runs:
123119 fi
124120
125121 FLASH_ARGS="$FLASH_ARGS --cloud-prefix ${{ inputs.cloud-prefix }}"
126- echo "Cloud cache enabled with ${{ inputs.cloud-provider }} provider"
127122 fi
128123
129- # Performance profiling if enabled
130124 if [ "${{ inputs.profile-performance }}" == "true" ]; then
131125 FLASH_ARGS="$FLASH_ARGS --profile"
132- echo "Performance profiling enabled"
133126 fi
134127
135- # Workspace support
136128 if [ "${{ inputs.workspace-root }}" == "true" ] && [ -f "pnpm-workspace.yaml" ] || [ -f "yarn.lock" ] && grep -q "\"workspaces\":" package.json; then
137129 FLASH_ARGS="$FLASH_ARGS --workspace"
138- echo "Workspace support enabled"
139130 fi
140131
141132 # Add package manager and concurrency settings
142133 FLASH_ARGS="$FLASH_ARGS --package-manager ${{ inputs.package-manager }} --concurrency ${{ inputs.concurrency }} --no-interactive --quiet"
143134
144135 cd ${{ inputs.directory }}
145136
146- # Show flash-install version and capabilities
147- echo "Flash Install v$(flash-install --version)"
148- flash-install ci status || echo "CI detection not available"
149-
150- echo "Command: flash-install ${{ inputs.command }}"
151- echo "Arguments: ${FLASH_ARGS}"
152-
153- # Run flash-install directly with fallback to npm if it fails
154137 if ! flash-install ${{ inputs.command }} ${FLASH_ARGS}; then
155- echo "::warning::Flash-install failed, falling back to npm..."
156138 if [ "${{ inputs.command }}" = "install" ]; then
157139 npm install
158140 elif [ "${{ inputs.command }}" = "ci" ]; then
159141 npm ci
160142 else
161- echo "::error::Unsupported command with npm fallback"
162143 exit 1
163144 fi
164145 fi
0 commit comments