Skip to content
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

Add the build against the latest versions of yarn, npm and node #555

Closed
akosyakov opened this issue Sep 25, 2017 · 9 comments
Closed

Add the build against the latest versions of yarn, npm and node #555

akosyakov opened this issue Sep 25, 2017 · 9 comments
Labels
help wanted issues meant to be picked up, require help

Comments

@akosyakov
Copy link
Member

No description provided.

@akosyakov akosyakov added the help wanted issues meant to be picked up, require help label Sep 25, 2017
@akosyakov
Copy link
Member Author

PRs are welcomed.

A new job should be added at the stage after the deploy stage. It would be enough to run it only on the master branch.

@maferland
Copy link

Can you explain what you want? I was looking to do it but I am not sure I understood it properly.

@akosyakov
Copy link
Member Author

@maferland Hi, thanks for looking into it.

We build Theia with Travis CI: https://travis-ci.org/theia-ide/theia. Build jobs are configured via a yaml file. As you can notice it consists of several stages and yarn version is pinned to 1.0.2 here. It is done to avoid breaking builds when new yarn version is released.

At the same time, we would like to have continuous testing against the latest version of yarn, npm and node, to know when it is saved to switch. Particularly, we would like to have a new stage, e.g. test latest, with a job overriding before_install and installing the latest node, npm and yarn. You should consult Travis documentation to learn more how to do it: https://docs.travis-ci.com/user/languages/javascript-with-nodejs/. It is ok if such job is failing. Let us know if you need more guidance.

@maferland
Copy link

I will give it a try. I will let you know if I need other explanation or if, for whatever reason, I can't finish it.

@kittaakos
Copy link
Contributor

Depends on #2009. First, we should be able to build with Node.js 10.x.

@brgirgis
Copy link

Any ETA on this issue? I can't get a simple startup project to run using nodejs 16 on an OpenSUSE Tumbleweed machine.

@msujew
Copy link
Member

msujew commented Oct 31, 2021

@brgirgis You should be able to build/run Theia with newer versions of node by using the --ignore-engines flag when running the yarn command.

@brgirgis
Copy link

brgirgis commented Nov 2, 2021

@brgirgis You should be able to build/run Theia with newer versions of node by using the --ignore-engines flag when running the yarn command.

Thanks! That did help.

@msujew
Copy link
Member

msujew commented Nov 8, 2023

We are using fairly new versions of node in our GitHub Actions matrix now. We don't have any plans to migrate to newer versions of yarn.

I believe this can be closed, especially since we have other issues for yarn, like #11924

@msujew msujew closed this as completed Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted issues meant to be picked up, require help
Projects
None yet
Development

No branches or pull requests

5 participants