Skip to content

Cannot update nodejs runtime version in buildspec.yml for code pipeline? #5222

@lominming

Description

@lominming

I've a codepipeline setup: code from github >>> test env >>> run tests >>> prod env.
I also have tests to run which depends on the host nodejs version.

I am trying to change the nodejs version in buildspec.yml:
image

But it throws this error:
image

My tests commands are in pipelines/.../manifest.yml:
image

Question 1: How can I update the nodejs version for my build pipeline?

Question 2: Can I just install a higher version of nodejs runtime at the test_commands section? Like apk add...

Metadata

Metadata

Assignees

No one assigned

    Labels

    guidanceIssue requesting guidance or information about usagestale

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions