Skip to content

Is the yarn version installed configurable? #74

@johnnyreilly

Description

@johnnyreilly

Heya!

Thanks for your wonderful action 🤗

I'm using it to power the GitHub Action that runs tests on ts-loader. We recently bumped on an issue with yarn: yarnpkg/yarn#7584

That was fixed in yarn v1.19.1 and I was left pondering how to upgrade the version of yarn that this action seems to install. See my ponderings here:

TypeStrong/ts-loader#1026 (comment)

I was able to resolve the issue by introducing this:

      - name: upgrade yarn
        run: npm install yarn -g

which upgrades to the latest and greatest yarn. You see... success!:

https://github.com/TypeStrong/ts-loader/pull/1027/checks?check_run_id=270427331

My question is, how is yarn installed by this action? And assuming I'm correct that it is, is it configurable to ensure that it's the latest and greatest? I'm wondering whether the course of action I've followed is the "best way". Or if there's another?

Thanks again for your wonderful action!

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions