chore: fix devtools action... again

This commit is contained in:
Randolf 2023-04-25 15:35:56 +02:00
parent b5c20bd406
commit 1bd90f861e

View File

@ -28,10 +28,12 @@ jobs:
PUPPETEER_SKIP_DOWNLOAD: true PUPPETEER_SKIP_DOWNLOAD: true
- name: Build Puppeteer - name: Build Puppeteer
run: | run: |
npm run build --workspace @puppeteer/browsers
npm run build --workspace puppeteer-core npm run build --workspace puppeteer-core
npm run build --workspace puppeteer npm run build --workspace puppeteer
- name: Pack Puppeteer - name: Pack Puppeteer
run: | run: |
npm pack --workspace @puppeteer/browsers
npm pack --workspace puppeteer-core npm pack --workspace puppeteer-core
npm pack --workspace puppeteer npm pack --workspace puppeteer
- name: Upload Puppeteer build - name: Upload Puppeteer build
@ -68,7 +70,8 @@ jobs:
run: | run: |
puppeteer_pkgs=(../puppeteer-*.tgz) puppeteer_pkgs=(../puppeteer-*.tgz)
tar -xf ${puppeteer_pkgs[0]} --strip-components 1 -C node_modules/puppeteer tar -xf ${puppeteer_pkgs[0]} --strip-components 1 -C node_modules/puppeteer
tar -xf ${puppeteer_pkgs[1]} --strip-components 1 -C node_modules/puppeteer-core tar -xf ${puppeteer_pkgs[1]} --strip-components 1 -C node_modules/@puppeteer/browsers
tar -xf ${puppeteer_pkgs[2]} --strip-components 1 -C node_modules/puppeteer-core
- name: Generate targets - name: Generate targets
working-directory: devtools-frontend working-directory: devtools-frontend
run: gn gen out/Default --args='devtools_skip_typecheck=true' run: gn gen out/Default --args='devtools_skip_typecheck=true'