* Update default electron-builder targetgs
* Allow setting a build ref
Changes the default version to `0.0.1-dev+unknown`, so that build/packaging can be easily ran locally without setting any environment variables.
* Adds recurring release workflow
New workflow that'll pre-bake artifacts when there's changes on PRs or on develop.
Artifacts can be used for all platforms to test out a PR or latest develop without the need to build locally.
Co-Authored-By: David Marby <david@dmarby.se>
* Make recurring flow independent from Test flow
Co-Authored-By: David Marby <david@dmarby.se>
* Use setup-node@v2
Co-Authored-By: David Marby <david@dmarby.se>
* Update .github/workflows/release-recurring.yml
Co-authored-by: David Marby <david@dmarby.se>
* It's always the single quotes 🙏😚
* Use bash shell
* Disable fail-fast
* Add cancel-in-progress setting to recurring releases
If someone pushes a new commit, triggering a new recurring job on a PR or develop, we cancel ongoing workflow.
Co-Authored-By: David Marby <david@dmarby.se>
* Change concurrency setting to workflow level
Co-Authored-By: David Marby <david@dmarby.se>
Co-authored-by: David Marby <david@dmarby.se>
* add smoke test fixture
* respect INSOMNIA_DATA_PATH override in CI
* add playwright
* remove spectron
* move CLI tests after app smoke tests in CI
* remove onboarding skip
* random path feedback
* npx feedback
* remove DATA_PATH override
* remove step from import process
* cleanup
* restore readme
* move specs to tests
* feedback on DESIGNER_DATA_PATH
* remove skipLibCheck
* last mention of spectron
* fix windows npm run test:smoke:build
* DATA_PATH override is required
* github CI is slow sometimes
* Upgrade Electron from 9.3.5 to 11.2.3.
* bump version
* update preid to alpha
* version packages lib@2.3.1-alpha.0
* Downgrade electron-builder to 22.11.3.
We tried to upgrade electron-builder to 22.11.7, but this fails
because electron-builder 22.11.4 introduces imports into fs/promises.
This module is only available in Node 14+, so we have to stick to
22.11.3 until we update to Electron 12.
* Revert npm script changes from alpha release.
Co-authored-by: Opender Singh <opender.singh@konghq.com>
* chore: update CI to publish npm packages during a release
* chore: test on all OSs prior to publishing npm packages and running a release
* auth with npm before publish
* Fix hard-coded path in electron mock
* Disable failfast strategy
* Remove path mocking, as it is no longer needed becasuse CI runs on all OSs, and it causes issues with database initialization for unit testing
* Update
* Update packages/insomnia-app/app/sync/git/__tests__/mem-plugin.test.js
Co-authored-by: David Marby <david@dmarby.se>
* Update packages/insomnia-app/app/sync/git/__tests__/mem-plugin.test.js
Co-authored-by: David Marby <david@dmarby.se>
Co-authored-by: David Marby <david@dmarby.se>
* Upgrade Electron to 8, bump Node version, fix font-manager
* Specify nodeIntegration as true
* Get <webview> working again
* Get <webview> working again
* Electron 9.0
* Escape parens in plugin install exec path (newer Electron added them)
* Bump versions for first alpha
* Electron 9.1
* Convert all Electron APIs that switched from callback to Promise
* Fix send-and-download feature
* Remove user-agent override hack for OAuth 2 login window
* Bump alpha version
* Fix issue regarding chokidar
* Add package-lock.json
* Upgrade chokidar because @babel/cli uses an older incompatible version of fsevents
* Fix source maps
* Read .nvmrc in GitHub actions
* Address remaining PR feedback
* Hacked insomnia lib package to get Insomnia's networking in tests
* Some small tweaks
* Got it mostly working
* Tweak
* Fix
* Fix pkg
* Fix some things
* Add comment
* Comment out log
* Some tweaks after doing a self code review
* Fix test
* Update app name for `insomnia-send-request`
* Update package-lock
* Update package-locks
* Fix tests
* Add gitignore
* Fix tests hopefully
* Fix accidental dep deletions
* Fix tests again
* Mock for all tests
* Update tests again
* Don't compile for Electron for tests
* Update release scripts to disable tests