From 1481f8d1f47a2e03b474c60ad1e8df9c2d06b36d Mon Sep 17 00:00:00 2001 From: Alex Anderson <191496+alxndrsn@users.noreply.github.com> Date: Fri, 15 Mar 2024 08:49:33 +0300 Subject: [PATCH] ci: yarn: freeze lockfile (#3171) This should highlight when the yarn.lock file is out of sync with package.json. From the docs: > If you need reproducible dependencies, which is usually the case with the continuous integration systems, you should pass --frozen-lockfile flag. > - https://classic.yarnpkg.com/lang/en/docs/cli/install/ --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 37b394f1f..57a2e6bc1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: with: node-version: 18 cache: yarn - - run: yarn install + - run: yarn install --frozen-lockfile - run: yarn lint build: needs: lint @@ -68,6 +68,6 @@ jobs: with: node-version: ${{ matrix.node }} cache: yarn - - run: yarn install + - run: yarn install --frozen-lockfile # TODO(bmc): get ssl tests working in ci - run: yarn test