Skip to content

why didn't a yarn error trigger a failure in GitHub Actions? node version mismatch #1705

Open
@jywarren

Description

@jywarren

Originally posted by @jywarren in #1688 (comment)

UPDATE: it's because of a node version mismatch between GitHub Actions and Jenkins and Google Cloud

We saw this error in a Jenkins build, and yet on its own it did not trigger a GitHub Actions failure:

�[33mweb_1  |�[0m yarn install v1.22.17
�[33mweb_1  |�[0m [1/5] Validating package.json...
�[33mweb_1  |�[0m [2/5] Resolving packages...
�[33mweb_1  |�[0m [3/5] Fetching packages...
�[33mweb_1  |�[0m warning Pattern ["jquery@jquery/jquery-dist#^3.6.0"] is trying to unpack in the same destination "/usr/local/share/.cache/yarn/v6/npm-jquery-3.6.0/node_modules/jquery" as pattern ["jquery@^3.3.1","jquery@>=1.10","jquery@>=1.8","jquery@^3.3.1","jquery@^3.2.1","jquery@^3.3.1"]. This could result in non-deterministic behavior, skipping.
�[33mweb_1  |�[0m warning [email protected]: The engine "browsers" appears to be invalid.
�[33mweb_1  |�[0m error [email protected]: The engine "node" is incompatible with this module. Expected version ">= 13.0.0". Got "12.22.7"
�[33mweb_1  |�[0m error Found incompatible module.
�[33mweb_1  |�[0m info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions