Commit Graph

31 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
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
Vince Grassia ff3420d373
DEVOPS-1016 - Fix Desktop/Browser pipelines to support hotfix process (#3828) 2022-10-19 09:22:57 -06:00
Matt Gibson 23d4dcd839
Build all browser MV3 artifacts (#3835)
only uploading Chrome, Edge and Opera artifacts for now, as those support manifest V3

Also corrects build artifact to lower case.
2022-10-19 07:31:04 -05: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
Michał Chęciński bd88b5b365
Run client test on build (#3216)
* Add tests step to build pipelines

* RUn tests for safari

* Remove tests step to build pipelines

* Run tests on root dir on pr

* Revert "Remove tests step to build pipelines"

This reverts commit 497bd86620.

* CHange name

* Remove working directory

* Add manual trigger

* Comment out cache

* Try to fix

* Revert "Try to fix"

This reverts commit 93d404b7d5.

* Disable failing test
2022-08-25 18:06:31 +10:00
Matt Gibson f74aa6f314
Add Manifest v3 artifact to pipelines (#3331)
This requires a second build due to the differences being handled in webpack.
2022-08-18 11:07:02 -05: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
Vince Grassia 9dd49a0023
Update workflows to deploy to CloudFlare Pages (cf-pages branch) (#2936) 2022-06-20 15:16:51 -04:00
Vince Grassia 7310fa826e
Add Brew Bump Workflows (#2934) 2022-06-20 12:23:11 -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 351bfdede1
Fix Browser Source Code Artifact (#2869) 2022-06-09 12:31:13 -04:00
Vince Grassia ce017125e1
Add 'libs' to build workflow event paths (#2861) 2022-06-08 13:53:35 -04: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 0e1aacc7f2
Fix Crowdin Push for Build Workflows (#2665) 2022-05-09 09:53:48 -04:00
Vince Grassia 186c16b577
Update Browser Build Workflow (#2544) 2022-05-04 10:59:05 -04:00
Daniel James Smith 63c606d463
Fix directory for browser's Crowdin pull config (#2541) 2022-05-04 14:37:24 +02: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 04ab35f69b
[EC-183] Bump jslib to match the expected version (#2534) 2022-05-03 20:25:18 +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