chore: Build only needed packages (#9620)
This commit is contained in:
parent
3a867919a8
commit
45b7197a73
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user