From 5cc83bcd8132b888fb6211fb6405dc34d8464a88 Mon Sep 17 00:00:00 2001 From: Ryan Lynch Date: Fri, 22 Sep 2023 08:49:57 -0400 Subject: [PATCH] Added frozen lockfile option on ci and dev yarn install to fail if the lockfile is out of date --- .github/workflows/ci.yml | 3 +-- .github/workflows/dev-builds.yml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d3041ba32..878a6e04c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,8 +13,7 @@ jobs: with: node-version: '16' cache: 'yarn' - - - run: yarn install + - run: yarn install --frozen-lockfile - run: yarn run playwright install --with-deps - run: yarn build diff --git a/.github/workflows/dev-builds.yml b/.github/workflows/dev-builds.yml index 889306f8f..3a1bfae00 100644 --- a/.github/workflows/dev-builds.yml +++ b/.github/workflows/dev-builds.yml @@ -17,7 +17,7 @@ jobs: node-version: '16' cache: 'yarn' - - run: yarn install + - run: yarn install --frozen-lockfile - run: yarn build - name: Publish dev build