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.
Co-authored-by: Kristoffer K. <merceyz@users.noreply.github.com>
* test: store nocks in a sqlite3 database
* chore: remove nock files
* refactor: reuse statement
* Update tests/recordRequests.js
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
* refactor: only create statements when needed
* refactor: move nocks db up one level
* fix: close db on exit
---------
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
* Adds a publish workflow
* Adds an explicit --immutable flag
* Update .github/workflows/publish.yml
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
* Uses release-please
* We don't need --tolerate-republish since release-please takes care of it
* Fix workflow name
* Update .github/workflows/publish.yml
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
* Upgrades to Yarn 4 RC
* Removes the cache check from the CI
* Simplifies CI
* Revert "Simplifies CI"
This reverts commit b3a05f1857.
* Calls install before running the typecheck
* Runs build
* No need for the PnP files since we don't use zero-install
* Adds explicit `--immutable` + cache
* Apply suggestions from code review
Co-authored-by: Kristoffer K. <merceyz@users.noreply.github.com>
Co-authored-by: Kristoffer K. <merceyz@users.noreply.github.com>
* chore: update dependencies, remove unused ones
* fix types
* Updates snapshots
* Fixes prepack
* try with Node.js 16.x
* Update more packages
* Upgrade to Jest 28
* Bump other packages
* Bump other packages
* Use Node.js 14.19.2
* Revert "try with Node.js 16.x"
This reverts commit 45aa8a3a96.
This reverts commit 4a275f68b6.
* Use specific Node.js version
* trying something
* Pin exact Node.js version number
* Bump Jest to 28.1.0
* dist-upgrade
* Don't pin Node.js version when it's not necessary
* Update more dependencies
* Update more dependencies
* Revert "Pin exact Node.js version number"
This reverts commit dd72a68061.
Co-authored-by: Maël Nison <nison.mael@gmail.com>
* Update ci.yml
* Implements ls-remote without spawning the git binary
* Implements enable/disable for Windows
* Triggers CI
* Mocks HTTP calls
* Fixes the shell on Windows
* Increases the timeout, thanks Windows