create-playwright icon indicating copy to clipboard operation
create-playwright copied to clipboard

feat: handle disabled lockfile

Open PierreDemailly opened this issue 2 years ago • 1 comments

When initializing playwright in an existing project, the CLI miss package-lock=false in the .npmrc (if exists).

npm ci is not compatible without lockfile, this PR fixes it: when package-lock.json is disabled, replaces npm ci with npm i in the workflow.

PierreDemailly avatar Nov 30 '23 23:11 PierreDemailly

@microsoft-github-policy-service agree

PierreDemailly avatar Dec 01 '23 00:12 PierreDemailly