Alex Anderson 641ab436a0
ci: add build timeouts (#3172)
This should prevent runaway builds.

I noticed this issue when working on a fork of https://github.com/brianc/node-postgres/pull/2836.  Example builds with/without these timeouts:

1. 6 hours: https://github.com/alxndrsn/node-postgres/actions/runs/8277192701
2. 10 minutes: https://github.com/alxndrsn/node-postgres/actions/runs/8277388503

These timeouts are 4-5x what a current healthy build takes.
2024-03-14 22:53:08 -07:00
..
2024-03-14 22:53:08 -07:00