nodejs / corepack

Zero-runtime-dependency package acting as bridge between Node projects and their package managers
MIT License
2.52k stars 165 forks source link

chore(ci): better check for Nocks changes #491

Closed aduh95 closed 3 months ago

aduh95 commented 3 months ago

When there are no changes, asking Git to compare the db file directly will always report change even though the actual data stored is the same. Instead, we can compare a SQL dump to detect actual changes.

aduh95 commented 3 months ago

I confirmed it worked with https://github.com/nodejs/corepack/actions/runs/9400530569/job/25890336262