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.
Problem description
When the workflow example-install-command.yml is run, the
install-command-v10job shows a warning concerning the lock file found:Steps to reproduce
Push to
masterto trigger example-install-command.ymlSearch 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
yarn install cypress@10.0.0 -Din directory examples/v10/install-command/ to generateyarn.lockfile and keep Cypress at the same version level (10.0.0) as the other v10 examples.