ci: use npm i in devtools.yml (#12411)

This commit is contained in:
Alex Rudenko 2024-05-08 08:05:54 +02:00 committed by GitHub
parent 7712dffffe
commit d205a03aef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -66,9 +66,7 @@ jobs:
- name: Install Puppeteer
working-directory: devtools-frontend
run: |
puppeteer_pkgs=(../puppeteer-*.tgz)
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
npm install ../puppeteer-browsers*.tgz ../puppeteer-core*.tgz
- name: Generate targets
working-directory: devtools-frontend
run: gn gen out/Default --args='devtools_skip_typecheck=true'