From a7d10a74a66c735d8c8634bd9eeaa2f5daffa2eb Mon Sep 17 00:00:00 2001 From: Ariya Hidayat <ariya@metabase.com> Date: Thu, 8 Jul 2021 07:36:30 -0700 Subject: [PATCH] GitHub Actions: correct the way yarn is supposed to pull the deps (#16933) There's no `--lockfile` option, the valid one is `--frozen-lockfile`. https://classic.yarnpkg.com/en/docs/cli/install/#toc-yarn-install-frozen-lockfile --- .github/workflows/uberjar.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/uberjar.yml b/.github/workflows/uberjar.yml index eaa5a4dc486..a4183f2dea1 100644 --- a/.github/workflows/uberjar.yml +++ b/.github/workflows/uberjar.yml @@ -56,7 +56,7 @@ jobs: path: ~/.m2 key: ${{ runner.os }}-m2-${{ hashFiles('**/project.clj') }}-${{ hashFiles('**/deps.edn') }} - - run: yarn install --lockfile + - run: yarn install --frozen-lockfile --prefer-offline - run: lein with-profile +include-all-drivers,+cloverage,+junit,+${{ matrix.edition }} deps - run: ./bin/build -- GitLab