rspack
rspack copied to clipboard
ci: clean node_modules and target
Summary
Clean node_modules and target directories to prevent them from growing too large.
- On Windows, use powershell to check the directory creation time since the
ducommand is very slow. - On Linux and macOS, continue using the
ducommand to check directory size.
Checklist
- [ ] Tests updated (or not required).
- [ ] Documentation updated (or not required).