14 Commits

Author SHA1 Message Date
jhen
729a11b13f CD: Trigger only for published 2023-07-31 06:50:52 +08:00
Jhen-Jie Hong
054e6c83e8 Upgrade apollo-client-devtools to v4 (#783)
* Initial work of upgrade apollo-client-devtools

* Add prefix for all message types of apollo-client-devtools by patch

* Middleware: Handle `ac-devtools:` prefix messages

* Worker: Import devtools hook

also add some patch to apollo-client-devtools:
- Remove content script (it was attached to RNDebugger window)
- No second arg on postMessage

* Add apollo-client example

* Fix tests

* E2E: Take screenshot after each & upload artifacts on CI failed

* E2E: Take devtools window screenshot

* Fix typo in removeEventListener

* Add test case for apollo-client-devtools
2023-07-28 15:30:21 +08:00
Jhen-Jie Hong
b23c3953ef Upgrade dev dependencies (#778)
* Bump webpack & babel deps

* Remove lodash-webpack-plugin

* Update babel plugins

* Bump jest version

* Bump css-loader & style-loader

* [NPM package] Update babel config

* Use node 18.5 as target

* CI: Use node 18

* CD: Use node 18

* Remove unnecessary files

* E2E: Fix net.createConnection on node 18

* Update snapshots

* Update GitHub Actions deps & setup cache
2023-07-22 09:28:49 +08:00
Jhen-Jie Hong
1b04eebb47 Upgrade Electron to v25 to related deps (#772)
* Initial work of upgrade electron to v25

* Fix devtools injection

* Fix about menu

* Remove devtools-installer setup

* Move context-menu setup to main process

* Remove devtron

* Use fs.watchFile

* Fix url-handle ip listen

* Fix dialog

* Migrate from spectron to playwright

* Update CI

* Remove spectron

* CI: Use node 16

* Remove electron-rebuild & update script

* Use patch-package for patch react-dev-utils

* Add --no-notarize arg for easy build mac app on local

* Bump electron-packager & related deps

* Update CD

* Move playwright-core to dev deps

* Update docs/contributing.md

* CI: Use windows-2022

* CI/CD: Increase network-timeout for windows

* Fix app notariztion

* E2E: Use wait-for-expect

* Update window options

* CI: Cancel previously in-progress run
2023-07-19 05:25:58 +08:00
Jhen
d0f3f64bc8 CI: Split macOS / Linux jobs (Linux testing still broken) 2023-07-16 10:34:48 +08:00
jhen
a7c42ada92 Update github action workflow 2019-12-24 12:41:18 +08:00
jhen
25e0a69691 CI: Update main workflow 2019-11-21 10:32:19 +08:00
jhen
8666626ab3 Update Release workflow 2019-10-23 09:26:06 +08:00
jhen
1a160f69f7 Update Release workflow 2019-10-20 14:57:33 +08:00
jhen
ea1ff09326 Fix CI workflow of Windows 2019-10-20 10:52:31 +08:00
jhen
393dfa607b Add Release workflow (For Linux / Windows) 2019-10-20 10:47:47 +08:00
Jhen-Jie Hong
9c77d95ea8 Upgrade Electron to v6 (Chromium 76) (#302)
* Upgrade Electron to v4

* Bump to 4.0.2

* Test: Temporarily allow ELECTRON_DISABLE_SECURITY_WARNINGS (It happen only on dev)

* Bump electron to v4.0.4

* Update electron-context-menu as it is already async by default

* Use node 10 on CI

* Upgrade electron to v5

* Bump electron to v5.0.10

* Bump electron version to v6.0.4

* Update selectRNDebuggerWorkerContext

* Bump spectron to v8

* [CI] Use node 10

* Bump electron version to 6.0.8
2019-09-11 15:35:29 +08:00
jhen
8f56a4b9ed Run lint before test 2019-09-08 12:49:41 +08:00
Jhen-Jie Hong
bb99fa147a [CI] Migrate to GitHub Actions (#395)
* Add workflow file

* Remove Travis / AppVeyor config

* Update README.md
2019-09-04 15:00:10 +08:00