-
Notifications
You must be signed in to change notification settings - Fork 529
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: add downgrade script for algoliasearch v4 and steps #6286
ci: add downgrade script for algoliasearch v4 and steps #6286
Conversation
|
||
shell.exec('yarn install'); | ||
|
||
shell.exec('cp -r node_modules/algoliasearch-v4 node_modules/algoliasearch'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Struggled with yarn which still keeps 4.23.2
with the algoliasearch-v4
name, even if we remove the alias.
It does output some warnings like "warning Pattern is trying to unpack in the same destination" which may be related.
Copying it manually works though so idk if we should bother
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if this is because of Create InstantSearch App
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 545a804:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
overall this looks good, let's just get CI to pass once then lgtm!
e1e6a79
into
chore/examples-algoliasearch-v5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
approve :)
* ci: add downgrade script for algoliasearch v4 and steps * test:ci instead * store results
* ci: add downgrade script for algoliasearch v4 and steps * test:ci instead * store results
* chore(examples): update search client to v5 * chore: types running with v4 locally, but also v4 and v3 (#6271) * chore: change type * WIP: expand search parameters doesn't work as there still are v4 v5 differences of course * do it correctly * use regular client * not sure if this should stay * WIP * changes rule * fix dependency * change order to make script work * almost all types fixed * improve test * fix(types): accepts client with wrong types will be fixed once algolia/api-clients-automation#3357 is done * tests * chore(helper): compatibility * chore(legacy): correct replacement * don't remove v5 fully * fix errors * safer (or less safe lol) * correct import * fix fake type * v5 only works * tests * script for examples too * script for examples too * chore(answers): bleh get rid of this! * stuff * simplify * ci: add downgrade script for algoliasearch v4 and steps (#6286) * ci: add downgrade script for algoliasearch v4 and steps * test:ci instead * store results * fixes --------- Co-authored-by: Haroen Viaene <hello@haroen.me> Co-authored-by: Aymeric Giraudet <aymeric.giraudet@algolia.com>
Summary
FX-2929
Result
We run the same tests and type checking as for v5 as they were written for v4 anyway, it does work