diff --git a/scripts/run_adminfront_ci_tests.sh b/scripts/run_adminfront_ci_tests.sh index 7c5d3f03..6fd90287 100755 --- a/scripts/run_adminfront_ci_tests.sh +++ b/scripts/run_adminfront_ci_tests.sh @@ -27,8 +27,12 @@ if command -v rsync >/dev/null 2>&1; then --exclude 'playwright-report' \ --exclude 'test-results' \ "$repo_root/adminfront/" "$tmp_dir/adminfront/" + rsync -rlptD --delete \ + --exclude 'node_modules' \ + "$repo_root/common/" "$tmp_dir/common/" else cp -R "$repo_root/adminfront" "$tmp_dir/adminfront" + cp -R "$repo_root/common" "$tmp_dir/common" rm -rf "$tmp_dir/adminfront/node_modules" \ "$tmp_dir/adminfront/playwright-report" \ "$tmp_dir/adminfront/test-results"