You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
peerDependencyVersion=$(jq -r --arg dep "$peerDependency" '.peerDependencies[$dep]' "$file")
116
+
importmapVersion=$(jq -r ".symfony.importmap.\"$peerDependency\" | if type == \"string\" then . else .version end" "$file")
117
+
118
+
if [ "$importmapVersion" == null ]; then
119
+
echo "File $file does not have the peerDependency '$peerDependency' in its symfony.importmap, skipping version check";
120
+
continue
121
+
fi
122
+
123
+
if [ "$peerDependencyVersion" != "$importmapVersion" ]; then
124
+
echo "File $file has a mismatch for $peerDependency: peerDependency version is '$peerDependencyVersion' but symfony.importmap version is '$importmapVersion'";
125
+
exit 1;
126
+
fi
127
+
done
128
+
done
129
+
22
130
coding-style-js:
23
131
name: JavaScript Coding Style
24
132
runs-on: ubuntu-latest
@@ -68,7 +176,7 @@ jobs:
68
176
69
177
# TODO: Only Turbo has PHPStan configuration, let's improve this later :)
0 commit comments