From 45b7197a73b9d19f2ff064c635cd567e886772a3 Mon Sep 17 00:00:00 2001 From: Nikolay Vitkov <34244704+Lightning00Blade@users.noreply.github.com> Date: Thu, 2 Feb 2023 11:18:17 +0100 Subject: [PATCH] chore: Build only needed packages (#9620) --- .github/workflows/ci.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 143f64c1..b95879e5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,6 +38,8 @@ jobs: - name: Lint commits run: npm run commitlint if: github.event_name != 'pull_request' + - name: Build every package + run: npm run build - name: Generate documents run: npm run docs - name: Check if autogenerated docs differ @@ -153,7 +155,7 @@ jobs: - name: Install dependencies run: npm ci --ignore-scripts - name: Build packages - run: npm run build + run: npm run build --workspace @puppeteer-test/test - name: Setup cache for Chromium binary uses: actions/cache@v3 with: @@ -209,7 +211,7 @@ jobs: - name: Install dependencies run: npm ci --ignore-scripts - name: Build packages - run: npm run build + run: npm run build --workspace @puppeteer-test/test - name: Setup cache for Firefox binary uses: actions/cache@v3 with: @@ -337,7 +339,7 @@ jobs: - name: Install dependencies run: npm ci --ignore-scripts - name: Build packages - run: npm run build + run: npm run build --workspace puppeteer - name: Pack packages run: docker/pack.sh - name: Build docker image