From 51fc8f05508c8c513ea8cb094bf28a76af43d13f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gast=C3=B3n=20Fournier?= Date: Thu, 8 Jun 2023 10:48:28 +0200 Subject: [PATCH] chore: avoid building frontend twice (#3918) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## About the changes Running `yarn install` without the `dist` folder will trigger a `yarn build` automatically as part of the `prepare script` As we can see here: https://github.com/Unleash/unleash/actions/runs/5200272004/jobs/9378770279 ``` [build:frontend] ✓ built in 41.10s // more output [build:frontend] ✓ built in 39.81s ``` --- .github/workflows/release.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 0841c9eef3..3ec8e0671d 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -23,7 +23,6 @@ jobs: - name: Build run: | yarn install --frozen-lockfile - yarn build - name: Publish to npm run: | LATEST=$(npm show unleash-server version)