From a748164bf2971686a7a070026372f1c5891bb082 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karol=20S=C3=B3jko?= Date: Fri, 5 May 2023 10:28:19 +0200 Subject: [PATCH] fix: remove redundant install steps from workflows --- .github/workflows/pr.yml | 14 -------------- .github/workflows/publish.yml | 15 --------------- 2 files changed, 29 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index c776828a2..69117b215 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -17,7 +17,6 @@ jobs: with: path: | packages/**/dist - .yarn/unplugged key: ${{ runner.os }}-build-${{ github.sha }} - name: Set up Node @@ -26,9 +25,6 @@ jobs: registry-url: 'https://registry.npmjs.org' node-version-file: '.nvmrc' - - name: Install dependencies - run: yarn install --immutable - - name: Build run: yarn build @@ -46,7 +42,6 @@ jobs: with: path: | packages/**/dist - .yarn/unplugged key: ${{ runner.os }}-build-${{ github.sha }} - name: Set up Node @@ -55,10 +50,6 @@ jobs: registry-url: 'https://registry.npmjs.org' node-version-file: '.nvmrc' - - name: Install dependencies - if: steps.cache-build.outputs.cache-hit != 'true' - run: yarn install --immutable - - name: Build if: steps.cache-build.outputs.cache-hit != 'true' run: yarn build @@ -80,7 +71,6 @@ jobs: with: path: | packages/**/dist - .yarn/unplugged key: ${{ runner.os }}-build-${{ github.sha }} - name: Set up Node @@ -89,10 +79,6 @@ jobs: registry-url: 'https://registry.npmjs.org' node-version-file: '.nvmrc' - - name: Install dependencies - if: steps.cache-build.outputs.cache-hit != 'true' - run: yarn install --immutable - - name: Build if: steps.cache-build.outputs.cache-hit != 'true' run: yarn build diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 34d959172..a1c29b7dd 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,7 +17,6 @@ jobs: with: path: | packages/**/dist - .yarn/unplugged key: ${{ runner.os }}-build-${{ github.sha }} - name: Set up Node @@ -26,9 +25,6 @@ jobs: registry-url: 'https://registry.npmjs.org' node-version-file: '.nvmrc' - - name: Install dependencies - run: yarn install --immutable - - name: Build run: yarn build @@ -46,7 +42,6 @@ jobs: with: path: | packages/**/dist - .yarn/unplugged key: ${{ runner.os }}-build-${{ github.sha }} - name: Set up Node @@ -55,10 +50,6 @@ jobs: registry-url: 'https://registry.npmjs.org' node-version-file: '.nvmrc' - - name: Install dependencies - if: steps.cache-build.outputs.cache-hit != 'true' - run: yarn install --immutable - - name: Build if: steps.cache-build.outputs.cache-hit != 'true' run: yarn build @@ -80,7 +71,6 @@ jobs: with: path: | packages/**/dist - .yarn/unplugged key: ${{ runner.os }}-build-${{ github.sha }} - name: Set up Node @@ -89,10 +79,6 @@ jobs: registry-url: 'https://registry.npmjs.org' node-version-file: '.nvmrc' - - name: Install dependencies - if: steps.cache-build.outputs.cache-hit != 'true' - run: yarn install --immutable - - name: Build if: steps.cache-build.outputs.cache-hit != 'true' run: yarn build @@ -130,7 +116,6 @@ jobs: with: path: | packages/**/dist - .yarn/unplugged key: ${{ runner.os }}-build-${{ github.sha }} - name: Setup git config