Skip to content

Missing yarn lock file for example-install-command on v10 #697

@MikeMcC399

Description

@MikeMcC399

Problem description

When the workflow example-install-command.yml is run, the install-command-v10 job shows a warning concerning the lock file found:

install command command "yarn --frozen-lockfile --silent"
current working directory "/home/runner/work/github-action/github-action/examples/v10/install-command"
/usr/local/bin/yarn --frozen-lockfile --silent
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.

Steps to reproduce

Push to master to trigger example-install-command.yml

Search for the logs with https://github.com/cypress-io/github-action/actions/workflows/example-install-command.yml?query=branch%3Amaster and then view the job "install-command-v10" > "Custom Yarn command" noticing the warning from yarn.

Suggested fix

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions