create-playwright
create-playwright copied to clipboard
feat: handle disabled lockfile
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.
@microsoft-github-policy-service agree