1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-11 10:10:25 +01:00
Commit Graph

31 Commits

Author SHA1 Message Date
Matt Gibson
3be5c4800b
Do not test napi crate on windows (#11003)
* Do not test napi crate on windows

possibly related to https://github.com/napi-rs/napi-rs/issues/1405. We are seeing buffer overflows in ci due to repeated Node-API GetProcAddress failures.

We don't have any tests in the napi crate, so there's no harm in removing those tests right now. If we have tests there in the future, we'll need to actually fix this. However, the napi crate is just a wiring crate, so maybe we won't ever have any unit tests there.

* include crate in name

* Remove crate axis
2024-09-12 11:21:23 -06:00
renovate[bot]
f9b66db1a9
[deps] DevOps: Update gh minor (#10577)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-26 16:45:28 -04:00
Vince Grassia
ed703b3658
BRE-272 - Fix Publish Workflows and other misc workflow updates (#10676) 2024-08-22 08:54:23 -06:00
Matt Bishop
eb868eebd7
Upload test results to Codecov (#10510) 2024-08-14 11:21:22 -04:00
Matt Bishop
c3d7da06b8
Use cancellation check with latest test reporter (#10507) 2024-08-13 15:10:19 -04:00
Matt Bishop
6651f930aa
Test for secrets before performing restricted actions (#10502)
* Test for secrets before performing restricted actions

* Go back to always
2024-08-13 12:56:33 -04:00
Matt Bishop
2d43a12ce9
Conditionally use Codecov secret (#9626) 2024-06-13 15:08:52 -04:00
Dillon Beresford
d594b680f9
[PM-7025] Add permission for test results (#9569)
* include check-run in workflows where secrets are used

* revert changes in build-cli workflow and add check-run to codecov

* assert token permissions

* include required permissions

* re-arrange permissions in alphabetical order

---------

Co-authored-by: Matt Bishop <mbishop@bitwarden.com>
2024-06-10 14:24:56 -04:00
Dillon Beresford
7fb9408202
[PM-7025] include check-run in workflows where secrets are used (#9135)
* include check-run in workflows where secrets are used

* revert changes in build-cli workflow and add check-run to codecov

* assert token permissions

---------

Co-authored-by: Matt Bishop <mbishop@bitwarden.com>
2024-06-10 10:54:24 -05:00
Matt Gibson
490e6c322d
Improve jest performance (#9496)
Utilizing resources based on thread availability improves performance vs fixed threading.

The linked issue for CI crashes has not been closed. Once this is solves, `runInBand` may improves performance in CI.
2024-06-04 10:40:41 -04:00
renovate[bot]
bd4453cce5
[deps] DevOps: Update gh minor (#8179)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-06 13:49:15 -05:00
renovate[bot]
0310223891
[deps] DevOps: Update codecov/codecov-action action to v4 (#7875)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-08 15:34:49 -05:00
renovate[bot]
51655dbe33
[deps] DevOps: Update actions/setup-node action to v4 (#7872)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-08 15:29:48 -05:00
renovate[bot]
2c9a48046f
[deps] DevOps: Update actions/checkout action to v4 (#7866)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-08 14:43:14 -05:00
renovate[bot]
2ee482d6f9
[deps] DevOps: Update gh minor (#7864)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-08 14:38:19 -05:00
Matt Bishop
8523de2977
Run tests on pushes and not just pull requests (#7370)
* Run tests on pushes and not just pull requests

* Simplify where it runs on push

* Wildcard hotfixes
2023-12-27 15:27:17 -05:00
Matt Bishop
e2ea24484e
Wire up code coverage (#7366) 2023-12-27 14:44:04 -05:00
Michał Chęciński
65e698b322
[DEVOPS-1572] Update JS workflows to Node version 18 (#6421)
* Get node version from .nvmrc and use in setup-node action

* Fix substitution

* Fix substitution 2

* Fix substitution 3

* Add ls

* Add ls

* Override working directory

* Fix override working directory

* Fix

* Add ls

* Checkout repo
2023-10-04 12:23:40 -04:00
Vince Grassia
7b26998999
DEVOPS-1400 - Fix Test Workflow (#5778) 2023-07-10 18:55:59 -04:00
renovate[bot]
a009ca3cfa
Update gh minor (#5592)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-29 08:46:56 -06:00
renovate[bot]
4174ba3afd
chore(deps): update gh minor (#5400)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-09 10:38:11 -06:00
Oscar Hinton
423fb453e2
Fix version tags for gh workflows (#5402) 2023-05-09 11:44:05 +02:00
Opeyemi
a9ab32b476
Devops 1323 pin actions versions (#5346)
* update all actions for version pin

* Fix typo

* Actions version pin final push

* upadte set-up DCT job to use latest gh action
2023-05-05 21:17:19 +01:00
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
Matt Gibson
084c89107e
Add type check to npm scripts (#4631) 2023-02-06 13:40:00 -06:00
Matt Bishop
4be2989fec
Upload and process test results as an artifact and report (#4435) 2023-01-11 09:01:02 -05:00
Michał Chęciński
b637c2f172
Fix rust tests apt-get install (#3933) 2022-10-31 14:29:41 +01:00
Oscar Hinton
9c292028e1
[SM-243] Upgrade windows-rs (#3516) 2022-10-24 11:46:50 +02:00
Thomas Rittson
05ebca2c4c
[EC-497] Fix memory leaks in tests (#3421)
* Add isolatedModules:true

* Add manual typechecking in CI for libs/ tests
2022-09-08 08:05:30 +10:00
Oscar Hinton
e0ae1bb738
Fix failing tests (#3374)
* Fix trial-initation test

Co-authored-by: Michał Chęciński <michal.checinski@outlook.com>
2022-08-25 18:26:18 +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