Commit Graph

357 Commits

Author SHA1 Message Date
Valere
b9700b9986 code review 2025-03-14 14:50:47 +01:00
Valere
4c477bc4b1 fix: github action, missing config file for dev env 2025-03-13 20:04:26 +01:00
Valere
a7af470549 yml: try docker compose instead of dash compose 2025-03-13 20:04:26 +01:00
Valere
102aaa80e2 typo in playwright.yml timeout 2025-03-13 20:04:26 +01:00
Valere
687dafab3e First integration tests with playwright 2025-03-13 20:04:26 +01:00
Hugh Nimmo-Smith
7aac56aac0 Vite embedded build of Element Call (#3077)
* Embedded package build of Element Call

Part of https://github.com/element-hq/element-call/issues/2994

This creates a new "embedded" build (vs "full" build) at the vite level. It will be used by a later PR that actually provides platform specific packages.

Embedded build:

- Uses relative URLs
- Uses relative config.json path and other resource loading
- Has a config.json built in
- Doesn't include the public folder (e.g. favicon)

Out of scope:

- this doesn't attempt to exclude SPA functionality, so technically the build could be used in SPA
- the above means that the crypto-wasm binary is included in the build

* CI artifact name based on type of build

* Update src/config/Config.ts
2025-03-12 17:00:44 +00:00
Robin
771397389c Prevent PRs with the X-Blocked label from being merged (#3041)
Copied from matrix-js-sdk (https://github.com/matrix-org/matrix-js-sdk/blob/develop/.github/workflows/pull_request.yaml#L31)
2025-03-05 10:44:10 +00:00
renovate[bot]
8aa95d1ddd Update GitHub Actions 2025-03-03 15:54:20 +00:00
Hugh Nimmo-Smith
6e3fd10268 Explicitly build and publish docker for develop/livekit branch (#2996)
We don't need the tarball artifact and we have already done a build
2025-02-07 16:31:44 +00:00
Hugh Nimmo-Smith
e23d8828ad GitHub Action workflows cannot be in a sub folder 2025-02-06 12:55:28 +00:00
Hugh Nimmo-Smith
6dcfdf8d39 Cleanup GitHub Actions (#2983)
This is mostly just about naming. Plus removing an unused end-to-end testing workflow.
2025-02-06 13:13:08 +01:00
Hugh Nimmo-Smith
4fc7fbe8fe Use --frozen-lockfile when install deps in CI (#2992) 2025-02-05 17:28:52 +01:00
Hugh Nimmo-Smith
31e59c1da1 Do run build action in CI when GHA workflows change (#2976) 2025-01-28 12:13:30 +01:00
Hugh Nimmo-Smith
7d444fc261 Automatically deploy livekit branch to call.element.dev via workflow dispatch (#2974) 2025-01-28 10:15:44 +00:00
renovate[bot]
497ee3c7f7 Update GitHub Actions (#2945)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-13 17:07:38 +01:00
renovate[bot]
7a03adb054 Update docker/build-push-action action to v6.11.0 (#2936)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-08 12:13:06 +00:00
renovate[bot]
50d30809ef Update codecov/codecov-action action to v5 (#2933)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-08 09:26:00 +00:00
renovate[bot]
6420e211c6 Update GitHub Actions 2025-01-07 15:53:36 +00:00
Hugh Nimmo-Smith
4fab1a25b4 Use specific Node.js version (22) instead of latest LTS (#2879)
This way we can manage the upgrade cycle ourselves.
2024-12-06 18:15:49 +00:00
renovate[bot]
818abaac0f Update GitHub Actions 2024-12-05 11:32:31 +00:00
Quentin Gliech
99d5886e32 Handles locales as Vite assets 2024-11-14 19:12:11 +01:00
Quentin Gliech
8f4b932c3c Enable Codecov bundle analysis plugin (#2774) 2024-11-14 10:07:21 +00:00
renovate[bot]
05b06ce3e2 Update GitHub Actions 2024-11-01 01:16:40 +00:00
renovate[bot]
3bd3e947ad Update GitHub Actions 2024-10-14 13:47:02 +00:00
renovate[bot]
8fcdfdf5e6 Update GitHub Actions 2024-10-09 10:02:22 +00:00
renovate[bot]
f4c601a2f5 Update docker/setup-buildx-action action to v3.7.1 2024-10-07 11:22:19 +00:00
renovate[bot]
a9d63c577d Update GitHub Actions 2024-10-04 07:06:17 +00:00
renovate[bot]
35908a51d0 Update docker/build-push-action action to v6.9.0 2024-10-01 01:42:46 +00:00
renovate[bot]
cd1bdb66bb Update GitHub Actions 2024-09-27 21:30:48 +00:00
fkwp
22883816b0 Merge pull request #2628 from element-hq/renovate/major-github-actions
Update peter-evans/create-pull-request action to v7
2024-09-12 19:42:21 +02:00
renovate[bot]
ace4289a97 Update peter-evans/create-pull-request action to v7 2024-09-12 17:40:58 +00:00
renovate[bot]
14cb0e03bb Update actions/upload-artifact digest to 5076954 2024-09-12 17:40:40 +00:00
renovate[bot]
fa6b8b3f0b Update actions/upload-artifact action to v4.4.0 2024-09-01 00:30:19 +00:00
Robin
7bca541cb6 Perform dead code analysis with Knip (#2575)
* Install Knip

* Clarify an import that was confusing Knip

* Fix issues detected by Knip

Including cleaning up some unused code and dependencies, using a React hook that we unintentionally stopped using, and also adding some previously undeclared dependencies.

* Run dead code analysis in lint script and CI

---------

Co-authored-by: Timo <toger5@hotmail.de>
2024-08-28 02:06:57 +02:00
fkwp
6521c8055c set codecov token from secrets 2024-08-27 21:22:16 +02:00
Robin
5eaabcf74d Clean up our tests in preparation for the testing sprint (#2466)
* Fix coverage reporting

Codecov hasn't been working recently because Vitest doesn't report coverage by default.

* Suppress some noisy log lines

Closes https://github.com/element-hq/element-call/issues/686

* Store test files alongside source files

This way we benefit from not having to maintain the same directory structure twice, and our linters etc. will actually lint test files by default.

* Stop using Vitest globals

Vitest provides globals primarily to make the transition from Jest more smooth. But importing its functions explicitly is considered a better pattern, and we have so few tests right now that it's trivial to migrate them all.

* Remove Storybook directory

We no longer use Storybook.

* Configure Codecov

Add a coverage gate for all new changes and disable its comments.

* upgrade vitest

---------

Co-authored-by: Timo <toger5@hotmail.de>
2024-08-27 15:45:39 +02:00
renovate[bot]
b4bc41ba02 Update docker/build-push-action action to v6.7.0 2024-08-14 15:07:05 +00:00
renovate[bot]
2b9bf1fbe6 Update GitHub Actions 2024-08-12 13:18:51 +00:00
renovate[bot]
6abd1fbca1 Update GitHub Actions 2024-08-01 01:04:00 +00:00
Robin
9cbd146e24 Merge pull request #2491 from element-hq/renovate/matrix-widget-api
Update dependency matrix-widget-api to v1.7.0
2024-07-24 11:14:46 -04:00
Robin
509bb4f1b0 Use LTS Node in CI 2024-07-24 11:12:36 -04:00
fkwp
5564e2fde6 cleanup config files 2024-07-24 10:18:16 +02:00
renovate[bot]
68daaa45f9 Update docker/build-push-action action to v6.3.0 2024-07-03 11:29:17 +00:00
Robin
13ef3183e2 Tell Renovate that we're trying to pin actions to specific tags
It thought that we were just trying to follow the latest commit on these actions, when in reality we want to follow the latest tag and pin its commit hash.
2024-06-21 09:57:48 -04:00
renovate[bot]
afd4fdcea2 Pin dependencies 2024-06-21 13:21:08 +00:00
fkwp
97a58f6db7 Merge pull request #2442 from element-hq/renovate/docker-build-push-action-digest
Update docker/build-push-action digest to 31159d4
2024-06-20 21:48:42 +02:00
renovate[bot]
44bf987cdc Update docker/setup-buildx-action digest to abe89fb 2024-06-20 19:45:16 +00:00
renovate[bot]
a7d55824bb Update docker/build-push-action digest to 31159d4 2024-06-20 19:45:13 +00:00
renovate[bot]
f376291f50 Update docker/build-push-action digest to f6010ea 2024-06-20 14:05:57 +00:00
renovate[bot]
7f22f442b1 Update docker/build-push-action digest to 94f8f8c 2024-06-18 18:08:03 +00:00