From 24b936a88fdc5e229eecc48fd383360afe6907f5 Mon Sep 17 00:00:00 2001 From: Alex Rudenko Date: Thu, 1 Sep 2022 11:29:15 +0200 Subject: [PATCH] chore: fix builds in CI --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 557f56cd4fbd2..363a14ce9ea31 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -196,6 +196,9 @@ jobs: - name: Test bundling and installation if: ${{ matrix.spec.name == 'Linux' }} run: | + # Test prod build instead of dev. + npm run clean + npm run build # Note: this modifies package.json to test puppeteer-core, so we test this last. npm run test:install @@ -220,7 +223,7 @@ jobs: ls .local-chromium - name: Build run: | - npm run build:dev + npm run build docker/pack.sh - name: Build docker image working-directory: ./docker