chore: fix builds in CI (#8877)

This commit is contained in:
Alex Rudenko 2022-09-01 14:43:26 +02:00 committed by GitHub
parent 4d2ec85cad
commit f57dde1c5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -196,6 +196,9 @@ jobs:
- name: Test bundling and installation - name: Test bundling and installation
if: ${{ matrix.spec.name == 'Linux' }} if: ${{ matrix.spec.name == 'Linux' }}
run: | 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. # Note: this modifies package.json to test puppeteer-core, so we test this last.
npm run test:install npm run test:install
@ -220,7 +223,7 @@ jobs:
ls .local-chromium ls .local-chromium
- name: Build - name: Build
run: | run: |
npm run build:dev npm run build
docker/pack.sh docker/pack.sh
- name: Build docker image - name: Build docker image
working-directory: ./docker working-directory: ./docker