@samitouri / QOS-React-1 / commits / 20b175fcd5

[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

Lauren Tan committed Jul 27, 2023 at 11:06 UTC 20b175fcd5f49e77b4f77e0a2dc1b3f236afde06
3 files changed +4 -4
compiler/.github/workflows/ci.yml
+1 -1
@@ -15,7 +15,7 @@ jobs:
15 node-version: 18.x
16 cache: "yarn"
17 cache-dependency-path: forget/yarn.lock
18 - - run: yarn install --immutable --immutable-cache
18 + - run: yarn install --frozen-lockfile
19 working-directory: forget
20 - run: yarn build
21 working-directory: forget
compiler/.github/workflows/react.yml
+2 -2
@@ -15,11 +15,11 @@ jobs:
15 node-version: 18.x
16 cache: "yarn"
17 cache-dependency-path: forget/yarn.lock
18 - - run: yarn install --immutable --immutable-cache
18 + - run: yarn install --frozen-lockfile
19 working-directory: forget
20 - run: yarn workspace babel-plugin-react-forget run build
21 working-directory: forget
22 - - run: yarn install --ci
22 + - run: yarn install --frozen-lockfile
23 working-directory: react
24 - run: yarn test --ci
25 working-directory: react
compiler/.github/workflows/test262.yml
+1 -1
@@ -16,7 +16,7 @@ jobs:
16 node-version: 18.x
17 cache: "yarn"
18 cache-dependency-path: forget/yarn.lock
19 - - run: yarn install --immutable --immutable-cache
19 + - run: yarn install --frozen-lockfile
20 working-directory: forget
21 - run: yarn workspace babel-plugin-react-forget run build
22 working-directory: forget