mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
[ci] Pass correct flags to yarn install
Turns out `--immutable` and `--immutable-cache` are for yarn 2, yarn 1.x needs to use the `--frozen-lockfile` flag instead
This commit is contained in:
Vendored
+1
-1
@@ -15,7 +15,7 @@ jobs:
|
||||
node-version: 18.x
|
||||
cache: "yarn"
|
||||
cache-dependency-path: forget/yarn.lock
|
||||
- run: yarn install --immutable --immutable-cache
|
||||
- run: yarn install --frozen-lockfile
|
||||
working-directory: forget
|
||||
- run: yarn build
|
||||
working-directory: forget
|
||||
|
||||
Vendored
+2
-2
@@ -15,11 +15,11 @@ jobs:
|
||||
node-version: 18.x
|
||||
cache: "yarn"
|
||||
cache-dependency-path: forget/yarn.lock
|
||||
- run: yarn install --immutable --immutable-cache
|
||||
- run: yarn install --frozen-lockfile
|
||||
working-directory: forget
|
||||
- run: yarn workspace babel-plugin-react-forget run build
|
||||
working-directory: forget
|
||||
- run: yarn install --ci
|
||||
- run: yarn install --frozen-lockfile
|
||||
working-directory: react
|
||||
- run: yarn test --ci
|
||||
working-directory: react
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@ jobs:
|
||||
node-version: 18.x
|
||||
cache: "yarn"
|
||||
cache-dependency-path: forget/yarn.lock
|
||||
- run: yarn install --immutable --immutable-cache
|
||||
- run: yarn install --frozen-lockfile
|
||||
working-directory: forget
|
||||
- run: yarn workspace babel-plugin-react-forget run build
|
||||
working-directory: forget
|
||||
|
||||
Reference in New Issue
Block a user