-
Notifications
You must be signed in to change notification settings - Fork 18
Node version 16 breaks GitHub workflows #338
Copy link
Copy link
Open
Labels
Team_TutorialsThese issues will be handeled by the team TutorialsThese issues will be handeled by the team TutorialsbugSomething isn't workingSomething isn't workinghigh prioritycritical issues that should be fixed firstcritical issues that should be fixed first
Description
Activity
Metadata
Metadata
Assignees
Labels
Team_TutorialsThese issues will be handeled by the team TutorialsThese issues will be handeled by the team TutorialsbugSomething isn't workingSomething isn't workinghigh prioritycritical issues that should be fixed firstcritical issues that should be fixed first
It seems that some of the dependencies used by the tutorial compiler are not compatible with Node version 16.
See for example: https://github.com/devonfw-tutorials/tutorial-compiler/runs/5181051825?check_suite_focus=true
This caused PRs in the tutorials repository to not upload to katacoda-scenarios-dev. After downgrading to Node version 14, the pipeline ran through.
https://github.com/devonfw-tutorials/katacoda-scenarios-dev/blob/main/.github/workflows/main.yml#L25.
A quick solution would be to use Node version 14 (or 12) in all GitHub actions where the tutorial compiler is used. In some of them there is already a fixed version Node 12 used.
https://github.com/devonfw-tutorials/katacoda-scenarios-dev/blob/main/.github/workflows/main.yml
https://github.com/devonfw-tutorials/katacoda-scenarios/blob/master/.github/workflows/main.yml
https://github.com/devonfw-tutorials/katacoda-scenarios/blob/master/.github/workflows/nightlyBuild.yml
https://github.com/devonfw-tutorials/tutorials/blob/main/.github/workflows/buildMain.yml
https://github.com/devonfw-tutorials/tutorials/blob/main/.github/workflows/buildPullRequest.yml
https://github.com/devonfw-tutorials/tutorial-compiler/blob/main/.github/workflows/linuxMain.yml
https://github.com/devonfw-tutorials/tutorial-compiler/blob/main/.github/workflows/linuxPullRequest.yml
https://github.com/devonfw-tutorials/tutorial-compiler/blob/main/.github/workflows/windowsMain.yml
https://github.com/devonfw-tutorials/tutorial-compiler/blob/main/.github/workflows/windowsPullRequest.yml
A better solution would be to update the dependencies in the tutorial-compiler so that it is compatible with Node 16.