Commit Graph

34 Commits

Author SHA1 Message Date
Oscar Hinton 9a41d5dc6f
[PM-358] Bump electron to 24 and node to 18 (#5205)
Upgrade Electron to version 24, node to 18 and npm to 9. Electron changed to using node 18 in 23, with node 18 using npm 9 as default.

There doesn't seem to be any breaking changes except the deprecation of Windows 7, 8.1, and Server 2012. A somewhat undocumented breaking change was that elements in the title bar are now draggable which broke the account switching selector. Resolved by adding a no-drag css rule.

- electronjs.org/blog/electron-22-0
- electronjs.org/blog/electron-23-0
- electronjs.org/blog/electron-24-0
2023-05-01 11:09:24 +02:00
Michał Chęciński 2722198191
[DEVOPS-1260] Update workflows to use new CI only keyvault (#5157)
* Use new CI Azure Key Vault

* Change name

* Fix

* Fix
2023-04-11 18:37:58 +02:00
Oscar Hinton 3a4a79d057
[PM-1691] Upgrade electron builder (#5038)
* Upgrade electron builder

* Fix after-sign

* Allow singleArch

* Add CSC_FOR_PULL_REQUEST
2023-04-10 20:19:28 +02:00
Daniel James Smith a931f5b9bd
Skip build for browser/desktop on importer changes (#5074)
The importers recently got extracted from libs/common. As the import functionality is currently limited to the web and cli, there is no need to build browser and desktop as there won't be any changes.

This will free up some runners for other workflows (GH actions) to get faster builds that actually impact browser and desktop.

Another benefit is faster feedback on the PR-checks for those two
2023-03-24 11:24:10 +01:00
Opeyemi 28dbb4c8a8
update ::set-output to latest (#4177)
* update ::set-output to latest

* update workflow for linter error
2022-12-05 15:04:04 +00:00
Joseph Flinn bc3879e194
Adding the 'libs/**' directory back to the Desktop build pipeline PR trigger list (#3938) 2022-10-31 17:24:02 -06:00
Vince Grassia ff3420d373
DEVOPS-1016 - Fix Desktop/Browser pipelines to support hotfix process (#3828) 2022-10-19 09:22:57 -06:00
Vince Grassia 3742732ae8
Update retrieve secrets steps in workflows (#3705) 2022-10-13 12:38:47 -07:00
Michał Chęciński d1243c97a4
Update deprecated Azure Key Vault action in workflows (#3438)
* Update deprecated Azure Key Vault in workflows

* Try without colons

* Specify bash as shell runner
2022-09-05 11:39:27 +02:00
Joseph Flinn 16c41b823b
[workflows] Decouple hotfix-rc branches (#3298) 2022-08-16 08:55:57 -07:00
Joseph Flinn 12bca0a597
[workflows] Finishing up the switch from the hotfix-rc/* back to hotfix-rc (#3179) 2022-07-26 13:43:29 -07:00
Oscar Hinton 0c1bd57cfd
[BEEEP] [EC-141] Rust - Windows hello (#2635) 2022-07-25 13:24:13 +02:00
Vince Grassia 23bf69c733
Change branch push event (#3106) 2022-07-18 09:06:15 -04:00
Vince Grassia 9dd49a0023
Update workflows to deploy to CloudFlare Pages (cf-pages branch) (#2936) 2022-06-20 15:16:51 -04:00
Michał Chęciński e12d28d14a
Add root config files to trigger build workflows (#2875)
* Add root js config files to trigger build workflows

* Update to match all files in root except md and txt ones
2022-06-13 09:59:15 +02:00
Vince Grassia 5a7a5a952a
Renaming NSIS Desktop Artifacts (#2867) 2022-06-08 15:23:28 -04:00
Vince Grassia ce017125e1
Add 'libs' to build workflow event paths (#2861) 2022-06-08 13:53:35 -04:00
Vince Grassia 5097cc949a
Fix bug in 'Check for failures' job (#2852) 2022-06-07 11:05:21 -04:00
Michał Chęciński bd6cdf3aa3
Devops 829 Add electron beta channels (#2838)
* Add option for beta channels in package.json for electron

* Change placement of build settings

* Add version

* Revert "Add version"

This reverts commit 2e09cc7d5e.

* Add electron version to package.json

* Move build to higher level

* Add upload beta autoupdate

* Revert version

* Updating the release workflow with the new channels

* restrict GitHub Release to only 'latest'

* fixing electron-builder configuration

* version bump test

* fixing words

* Commenting out the npm cache in the windows build job

* Adding back in the caching for the future

* Revert "version bump test"

This reverts commit b732d00841.

Co-authored-by: Joseph Flinn <joseph.s.flinn@gmail.com>
2022-06-07 15:44:25 +02:00
Michał Chęciński f5adb0a7ae
Devops 818 trigger desktop on browser build (#2749)
* Add trigger when browser build completes

* Download artifacts from workflow run trigger

* Fix branch quotes

* Remove workflow run event trigger

* Add trigger step for desktop build

* Add current branch name for test purposes

* Change the branch name

* Add token retrieval from KeyVault

* Revert "Change the branch name"

This reverts commit 696157dc81.

* Fix json in request

* Add printing variables

* Change way of creating json string

* Change name of kv secret
2022-06-03 14:48:22 -06:00
Oscar Hinton 12c4a3e7f8
[EC-236] Move dependencies to root package.json (#2720) 2022-06-02 15:18:29 +02:00
Vince Grassia c6a1ea3c59
Change push event branches (#2723) 2022-05-25 09:17:52 -04:00
Vince Grassia 55bc4a39a4
Add 'pull_request' event to Build workflows (#2721) 2022-05-24 10:26:09 -04:00
Joseph Flinn 6e5cf10a99
Adding in another path to trigger the client build workflows (#2707) 2022-05-20 09:39:38 -07:00
Michał Chęciński 83ccbf2c90
[DEVOPS-810] Move Safari build to browser workflow (#2683)
* Add safari build to browser

* Add safari build stage

* Run safari build on macos

* Publish safari artifact

* Add keychain setup

* Change way of uploading safari artifact

* Change way of ziping safari

* Fix upload artifact path

* Print directory

* Change to absolute path

* Fix browser package upload

* Add desktop download safari extension artifact

* Change branch name in artifact download

* Add ls for packages

* Change path to extract artifacts

* Added list dir

* Change dir to save artifacts

* Path testing

* Fix path

* ls all subdirs

* Unzip safari artifact

* Fix print for echo

* Fix path for unzip

* Remove ls

* Add unzipping Safari as separate job

* Fix paths to unzip

* Remove commented options

* Fix comments

* Fix comment on stsus reporting

* Fix unnecessary newlines
2022-05-18 07:31:02 -07:00
Vince Grassia c260464f96
Fix Crowdin Pull workflow (#2667) 2022-05-10 10:20:32 -04:00
Vince Grassia f82279094b
Fix Build Desktop Workflow (#2666) 2022-05-09 11:22:14 -04:00
Vince Grassia 0e1aacc7f2
Fix Crowdin Push for Build Workflows (#2665) 2022-05-09 09:53:48 -04:00
Micaiah Martin 93d2ab743c
Update provisioning files in desktop build (#2647) 2022-05-06 11:20:10 -05:00
Vince Grassia db02c2415b
Fix build number base (#2638) 2022-05-05 16:56:45 -04:00
Vince Grassia e6fcdde29c
Fix Desktop Build Workflow (#2637) 2022-05-05 16:20:16 -04:00
Vince Grassia 7d25bf6904
Remove lint job from build workflows (#2538) 2022-05-03 16:35:35 -04:00
Oscar Hinton c1cc5a0814
[EC-183] Move eslint and prettier to project root (#2536) 2022-05-03 21:45:37 +02:00
Oscar Hinton e639f3c40c
[EC-183] Mono Repository - Browser pipelines (#2533)
Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>
2022-05-03 20:01:37 +02:00