Michael Telatynski
8dd0722e04
Update eventName=Screen to $screen to match PostHog's special behaviour ( #7667 )
4 years ago
Travis Ralston
61a0be7d46
Render events as extensible events (behind labs) ( #7462 )
...
* Render events as extensible events (behind labs)
* Include the SDK
* Appease linter
* Update for changed property name
* Fix formatting error
* Fix branch matching for build steps
* Update SDK
* Update scripts/fetchdep.sh
Co-authored-by: Andy Balaam <andyb@element.io>
Co-authored-by: Andy Balaam <andyb@element.io>
4 years ago
James Salter
d4813f7a1a
Convert end-to-end tests to Typescript ( #7206 )
4 years ago
Travis Ralston
c9619bfe48
Fix documentation to make `yarn test` work out of the box (mk II) ( #7075 )
...
* Fix documentation to make `yarn test` work out of the box
Before, invoking `yarn test` croaked on a missing src/component-index.js
file. In another part of the README, the missing instruction to generate
this file was found.
* Fix CI: Unauthenticated git protocol on port 9418 is no longer supported
GitHub is deprecating the service which answered unauthenticated git
protocol requests. Either it happened already, or they are running
brownouts.
* This is where I meant to leave that comment
Co-authored-by: Andreas Motl <andreas.motl@panodata.org>
4 years ago
David Baker
47fd11050f
Switch type check to GitHub Actions
...
and add (working) type check for release mode js-sdk types
4 years ago
Travis Ralston
e3cb55ce82
Update scripts/fetchdep.sh
4 years ago
Šimon Brandner
5b65528038
Make GH actions clone from the correct fork and cleanup
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
4 years ago
David Baker
a2f581a7ef
Add CI script to switch the js-sdk into 'release mode'
...
So we can check the types still work against a released js-sdk
5 years ago
Germain Souquet
a6120ef3b7
Revert fetchdep script diff
5 years ago
Germain Souquet
5fb7dbee3e
Do not generate a lockfile when running in CI
5 years ago
David Baker
ee9be5438e
eslint --fix
5 years ago
Germain Souquet
19bc44e3fb
fix branch matching for element-web
5 years ago
Germain Souquet
b492072e76
add required dependency in Docker image for puppeteer
5 years ago
Germain Souquet
b092686453
improve comment grammar
5 years ago
Germain Souquet
fca2feaae8
make github env variable check first as it is new home for ci
5 years ago
Germain Souquet
c42f0fd2e4
split GITHUB_REPOSITORY rather than using GITHUB_ACTOR
5 years ago
Germain Souquet
660f3900f8
Change if statement syntax to use positive expressions
5 years ago
Germain
a7daf558bb
Use proper capitalisation for Buildkite
...
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
5 years ago
Germain Souquet
8090d2b583
Fix branch matching for BuildKite
5 years ago
Germain Souquet
ca5f8f97bb
Branch matching support for forked repository on GitHub actions
5 years ago
Germain Souquet
2d9e97a3e1
Fix branch matching to work with GitHub Actions and BuildKite
5 years ago
Michael Telatynski
6c64f564e4
Naive attempt at improving our end-to-end tests in Github Actions
5 years ago
Michael Telatynski
4ff25c5978
Add jq to e2e tests Dockerfile
5 years ago
Michael Telatynski
958d4df957
Naive attempt at improving our end-to-end tests in Github Actions
5 years ago
Ayush PS
b90a1de178
Merge branch 'develop' into err
5 years ago
Ayush PS
c843387043
Merge branch 'develop' into Bubble-bericht
5 years ago
Germain Souquet
4123406785
Move i18n utils to its own module
5 years ago
Šimon Brandner
a9853c4f8f
Clone author's deps fork for Netlify previews
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
5 years ago
J. Ryan Stinnett
b2d4639ec9
Use fsync in reskindex to ensure file is written to disk
...
This should (hopefully) resolve occasional errors where the rename step would
fail because the temporary file did not exist. In addition, this also exits with
an error code if something goes wrong so we notice it early, rather than having
to scroll through pages of logs at release time.
5 years ago
J. Ryan Stinnett
5b2f915ee9
Move to newer base image for end-to-end tests
...
This updates to Node 14 (current LTS) as well as moving from Debian Stretch to
Buster for the base OS. The Debian upgrade brings along a newer Python 3.8,
which is actively supported.
Fixes https://github.com/vector-im/element-web/issues/16272
5 years ago
J. Ryan Stinnett
016140670b
Fix let binding in reskindex.js
5 years ago
J. Ryan Stinnett
4e5f25206a
Ensure component index has been written before renaming
...
This ensures we correctly wait for `component-index.js.tmp` to be written to
disk before trying to rename into place. This fixes an issue where stray temp
files were being strewn about the repos after renaming failures.
5 years ago
J. Ryan Stinnett
0e137bd0f6
Fix code style
5 years ago
J. Ryan Stinnett
a22049a679
Use const / let instead of var
5 years ago
J. Ryan Stinnett
e90e51cc9b
React SDK needs to build the component index
5 years ago
J. Ryan Stinnett
50427786f9
Cloned deps do not need any building now
5 years ago
J. Ryan Stinnett
19cfe44b16
Types from dependencies are now built explicitly
5 years ago
J. Ryan Stinnett
3d3490c6d7
For cloned deps, we only need to build types
5 years ago
J. Ryan Stinnett
c63c8540f1
Remove old app test script path
...
Now that https://github.com/matrix-org/pipelines/pull/112 has merged, we no
longer need to support this old path for launching app-level tests.
5 years ago
David Baker
0b3c7e0972
revert 2 testing commits to replace with real commit from develop
5 years ago
David Baker
c853085e29
Add support for Netlify to fetchdep script
...
and remove support for Jenkins
5 years ago
David Baker
1ed5fb1f30
Try another variable
...
BRANCH is pull/xxxx/head so that doesn't work
5 years ago
David Baker
a8a4d44a57
Try different branch variable to try & get netlify to work
5 years ago
J. Ryan Stinnett
883d5d96a7
Nest other layers inside on automation
...
This changes the nesting style because some CI / CD systems do not allow moving
to a directory above the checkout for the primary repo (`react-sdk` in this
case).
Part of https://github.com/vector-im/element-web/issues/12624
5 years ago
J. Ryan Stinnett
a6e69db8f5
Rebrand E2E test Docker image
5 years ago
J. Ryan Stinnett
cdc57cf1f5
Add temporary symlink for pipeline
5 years ago
J. Ryan Stinnett
1fda735222
Rebrand various CI scripts and modules
...
This replaces Riot with Element in various CI scripts, modules, parameters, etc.
This _should_ be the last major rebranding pass (hopefully).
Fixes https://github.com/vector-im/element-web/issues/14894
5 years ago
J. Ryan Stinnett
ce226ab534
Replace Riot with Element in docs and comments
...
This only covers the simple cases of references to issues and repos. More
complex areas, such as deployment scripts, will be handled separately.
Part of https://github.com/vector-im/element-web/issues/14864
5 years ago
Travis Ralston
fed20d46c5
Replace i18n generation script with something matching our project
...
We've been relying on flow being close enough to TypeScript for so long that it is starting to run into issues. Here we switch to babel's parser given we already use babel in the project.
Babel's parser is also *slightly* faster, allowing us to generate strings 0.1s faster.
5 years ago
Travis Ralston
6d46ef548e
Enable tests again to catch failures
6 years ago