mirror of
https://github.com/cypress-io/cypress.git
synced 2026-02-23 15:50:10 -06:00
Pass --immutable to yarn in CI (#6670)
* Pass `--immutable` to `yarn` in CI * update for yarn v1
This commit is contained in:
@@ -63,7 +63,7 @@ install:
|
||||
- has-env GH
|
||||
# clean cache to prevent install permission issues
|
||||
- yarn cache clean
|
||||
- yarn || yarn || yarn
|
||||
- yarn --frozen-lockfile || yarn --frozen-lockfile || yarn --frozen-lockfile
|
||||
- .\node_modules\.bin\print-arch
|
||||
|
||||
# Post-install test scripts.
|
||||
|
||||
@@ -236,7 +236,7 @@ jobs:
|
||||
- run: ls $(yarn global bin)/../lib/node_modules
|
||||
|
||||
# try several times, because flaky NPM installs ...
|
||||
- run: yarn || yarn
|
||||
- run: yarn --frozen-lockfile || yarn --frozen-lockfile
|
||||
- run:
|
||||
name: Top level packages
|
||||
command: yarn list --depth=0 || true
|
||||
|
||||
Reference in New Issue
Block a user