responsible-ai-collaborative / aiid

The AI Incident Database seeks to identify, define, and catalog artificial intelligence incidents.
https://incidentdatabase.ai
Other
171 stars 35 forks source link

Improve npm caching to reduce npm flake #3117

Open cesarvarela opened 1 month ago

cesarvarela commented 1 month ago

From time to time, npm install fails, adding flake to already existing flake from the tests themselves:

image

Since package JSON didn't change between builds, it should not attempt to npm install again.