Compare commits

..

1 Commits

Author SHA1 Message Date
Sebastian Krupinski
0bc73e7e91 chore: initial workflow implementation
Some checks failed
Test Module Installation Action / Node.js Module with NPM (pull_request) Failing after 18s
Test Module Installation Action / Single Module (No Dependencies) (pull_request) Failing after 1m10s
Test Module Installation Action / Error Handling (pull_request) Successful in 1m17s
Test Module Installation Action / Mixed PHP and Node Modules (pull_request) Failing after 1m22s
Test Module Installation Action / PHP Module with Composer (pull_request) Failing after 1m30s
Test Module Installation Action / Linear Dependencies (A → B → C) (pull_request) Failing after 1m43s
Test Module Installation Action / Test Summary (pull_request) Failing after 3s
Signed-off-by: Sebastian Krupinski <root@LAPTOP-7DVOR6NC>
2026-02-15 16:47:28 -05:00

View File

@@ -153,7 +153,7 @@ runs:
echo "$MODULES_JSON" | jq -r '.[].name' > "$NODES_FILE"
# Create dependency edges (dependent -> dependency)
echo "$MODULES_JSON" | jq -r '.[] | select(.dependencies != null and (.dependencies | length) > 0) | .name as $$module | .dependencies[] | "\($$module) \(.)"' > "$EDGES_FILE"
jq -r '.[] | select(.dependencies != null and (.dependencies | length) > 0) | .name as $module | .dependencies[] | "\($module) \(.)"' > "$EDGES_FILE" <<< "$MODULES_JSON"
# Perform topological sort
if [ "$SKIP_DEPS_CHECK" != "true" ] && [ -s "$EDGES_FILE" ]; then