[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:
Lauren Tan
2023-07-27 11:06:29 -04:00
parent f45a4611e7
commit 20b175fcd5
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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
+2 -2
View File
@@ -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
View File
@@ -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