diff --git a/.github/workflows/deploy-chromatic.yml b/.github/workflows/deploy-chromatic.yml index a8bfde15..4fadce1c 100644 --- a/.github/workflows/deploy-chromatic.yml +++ b/.github/workflows/deploy-chromatic.yml @@ -39,7 +39,7 @@ jobs: restore-keys: ${{ runner.os }}-yarn- - name: Install dependencies - run: yarn install --immutable --immutable-cache + run: yarn install --immutable --check-cache - name: Publish to Chromatic uses: chromaui/action@v1 diff --git a/.github/workflows/publish-ghpages.yml b/.github/workflows/publish-ghpages.yml index 21231d78..06dd27c6 100644 --- a/.github/workflows/publish-ghpages.yml +++ b/.github/workflows/publish-ghpages.yml @@ -35,7 +35,7 @@ jobs: restore-keys: ${{ runner.os }}-yarn- - name: Install dependencies - run: yarn install --immutable --immutable-cache + run: yarn install --immutable --check-cache - name: Generate directory name id: dir_name @@ -90,7 +90,7 @@ jobs: restore-keys: ${{ runner.os }}-yarn- - name: Install dependencies - run: yarn install --immutable --immutable-cache + run: yarn install --immutable --check-cache - name: Build Next.js app run: yarn build