Skip to content

Node version 16 breaks GitHub workflows #338

Open
@GuentherJulian

Description

@GuentherJulian

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Team_TutorialsThese issues will be handeled by the team TutorialsbugSomething isn't workinghigh prioritycritical issues that should be fixed first

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions