Commit graph

22 commits

Author SHA1 Message Date
Aria Minaei
bdba288ff1 Remove percy and add docs on how to produce the snapshots 2023-08-07 15:34:36 +02:00
Aria Minaei
e856ee54ff Use a temp directory to install the compat test fixtures
This is a way to run `npm install` on the compat test fixtures without the node_modules at the root of the repo interfering with the node's module resolution (and that of parcel/webpack/etc).

It's hacky because ideally we'd just put each test in its own docker container for simplicity. We tried that in the private repo, but the complexity is not worth the benefit.
2023-08-01 17:47:17 +02:00
Aria Minaei
2670c670f6 Attempt: fix the CI errors 2023-08-01 17:47:17 +02:00
Aria Minaei
bc7fcf8e0a Rename compatibility-tests to compat-tests 2023-08-01 17:47:17 +02:00
Aria
b83164f26f
Switch to Vite (#434) 2023-07-16 22:19:21 +02:00
Aria Minaei
8ab1de79ce Make a shortcut for installing compat-tests' fixtures 2023-02-06 19:39:26 +01:00
Aria Minaei
4fb60bdd5a Implement chat-ops for insiders release 2023-02-05 15:05:54 +01:00
Aria
56595c32cb
Simplify workflows (#394
* Break the CI steps into separate jobs so they run in parallel and are easier to distinguish
* Cache yarn more aggressively
* Re-use actions in different jobs
2023-02-04 20:23:26 +01:00
Aria
e620c9eaab
Make CI run faster by caching more things (#387) 2023-01-26 16:16:14 +01:00
Aria
80e79499df
Fix CI error in compatibility tests (#377) 2023-01-12 13:43:44 +01:00
Aria
718beb4d7b
Catch more SSR issues and improve compat tests (#353)
This will cause the build to fail, as this will catch an SSR issue, which will be fixed after merging #369
2023-01-04 20:03:47 +01:00
Cole Lawrence
984a61347f Use "Theatre.js" for name consistency
Co-authored-by: Fülöp <fulopkovacs@users.noreply.github.com>
2022-07-25 12:01:26 -04:00
Cole Lawrence
11b5d175f4
Fix github checks (#263)
* Update dependencies which pass tests locally

* Break the yarn cache in an attempt to fix checks

* playground: Add wrapping error info for build.ts

* playground: Don't use dev mode in CI tests

* playground: Use tsc for typecheck

* playground: Specify working esbuild version 0.13.15

* playground: Use only promises in build.ts

* playground: Ensure serving in ci e2e

 * Add echo for vercel for build:static
2022-07-25 10:37:34 +02:00
Fülöp Kovács
a6951effd8 Rename the Test job from compatibility-tests to avoid name collision with another job in the main workflow 2022-06-13 12:20:18 +01:00
Aria
d36b336fdd
Set up manual compatibility tests (#171) 2022-05-20 18:52:57 +02:00
Fülöp
8520c74116 Automatically publish prereleases to npm (#155)
This commit creates `x.x.x-insiders.COMMIT_HASH` builds of all of our public packages, and publishes them to npm with the `insiders` tag, so one could say `npm install @theatre/core@0.4.8-insiders.bsdf387` and use the package at that particular commit.

Co-authored-by: Aria Minaei <aria.minaei@gmail.com>
2022-05-18 12:39:35 +02:00
Fülöp
3d10325873
Add tests for Theatre.js + popular setups in the ecosystem (#165)
This implements some basic infra for testing Theatre.js with popular setups such as npm/yarn/pnpm, webpack/vite/parcel, js/ts, etc.

So far, the only existing setup has been with create-react-app. Will add more in the future.

Co-authored-by: Fülöp <fulopkovacs@users.noreply.github.com>
Co-authored-by: Aria Minaei <aria.minaei@gmail.com>
2022-05-17 20:53:01 +02:00
Aria Minaei
ccb52d4882 Disallow lint warnings in GH action 2022-04-09 15:24:15 +02:00
Aria Minaei
b091b755ab Save CI time by merging e2e and percy tasks 2022-02-28 14:58:50 +01:00
Aria
d0965d17e4
Set up end-to-end tests (#85) 2022-02-28 13:15:27 +01:00
Aria Minaei
ac6c58a8b1 Try yarn cache in github action 2021-06-18 19:00:12 +02:00
Aria Minaei
aa6d780355 Add Github workflow 2021-06-18 14:14:11 +02:00