Skip to content

Commit 63666fc

Browse files
committed
Do not test client's package.json for zero dependencies – it only works when it's one of the nx affected packages
1 parent 54ebcf9 commit 63666fc

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -318,22 +318,6 @@ jobs:
318318
exit 1
319319
fi
320320
npx nx affected --target=build --parallel=3 --verbose
321-
- name: Confirm the built Playground client package.json file has no dependencies listed
322-
run: |
323-
if [ ! -f dist/packages/playground/client/package.json ]; then
324-
echo "Error: dist/packages/playground/client/package.json not found"
325-
echo "This is a regression from https://github.com/WordPress/playground/pull/1000"
326-
exit 1
327-
fi
328-
329-
DEPENDENCIES=$(jq '.dependencies // {}' dist/packages/playground/client/package.json)
330-
if [ "$DEPENDENCIES" != "{}" ]; then
331-
echo "Error: @wp-playground/client package.json has dependencies listed:"
332-
echo "$DEPENDENCIES"
333-
exit 1
334-
else
335-
echo "✓ @wp-playground/client package.json has no dependencies listed"
336-
fi
337321
338322
# Deploy documentation job
339323
deploy_docs:

0 commit comments

Comments
 (0)