Skip to content

Chrome DevTools for coding agents

ci: run gclient-sync across GitHub Actions workflows (#3327)

Nikolay Vitkovd37b1b258013
diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml
index 06879ee1..c145d343 100644
--- a/.github/workflows/pre-release.yml
+++ b/.github/workflows/pre-release.yml
@@ -25,7 +25,6 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 2
- submodules: true
- name: Set up Node.js
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
@@ -45,6 +44,10 @@ jobs:
env:
PUPPETEER_SKIP_DOWNLOAD: true
+ - name: Sync DevTools dependencies
+ shell: bash
+ run: npm run gclient-sync
+
- name: Build and bundle
shell: bash
run: npm run bundle
diff --git a/.github/workflows/presubmit.yml b/.github/workflows/presubmit.yml
index e22a9fb0..54a6580d 100644
--- a/.github/workflows/presubmit.yml
+++ b/.github/workflows/presubmit.yml
@@ -20,7 +20,6 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 2
- submodules: true
- name: Set up Node.js
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
@@ -31,6 +30,10 @@ jobs:
- name: Install dependencies
run: npm ci
+ - name: Sync DevTools dependencies
+ shell: bash
+ run: npm run gclient-sync
+
- name: Run format check
run: npm run check-format
@@ -43,7 +46,6 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 2
- submodules: true
- name: Set up Node.js
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
@@ -54,6 +56,10 @@ jobs:
- name: Install dependencies
run: npm ci
+ - name: Sync DevTools dependencies
+ shell: bash
+ run: npm run gclient-sync
+
- name: Generate
run: npm run gen
diff --git a/.github/workflows/publish-to-mcp-registry-on-tag.yml b/.github/workflows/publish-to-mcp-registry-on-tag.yml
index c3c24fd8..e839aa2e 100644
--- a/.github/workflows/publish-to-mcp-registry-on-tag.yml
+++ b/.github/workflows/publish-to-mcp-registry-on-tag.yml
@@ -20,7 +20,6 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 2
- submodules: true
- name: Set up Node.js
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
@@ -36,6 +35,10 @@ jobs:
- name: Install dependencies
run: npm ci
+ - name: Sync DevTools dependencies
+ shell: bash
+ run: npm run gclient-sync
+
- name: Build and bundle
run: npm run bundle
env:
diff --git a/.github/workflows/publish-to-npm-on-tag.yml b/.github/workflows/publish-to-npm-on-tag.yml
index 1f1800c3..2717116a 100644
--- a/.github/workflows/publish-to-npm-on-tag.yml
+++ b/.github/workflows/publish-to-npm-on-tag.yml
@@ -20,7 +20,6 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 2
- submodules: true
- name: Set up Node.js
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
@@ -32,6 +31,10 @@ jobs:
- name: Install dependencies
run: npm ci
+ - name: Sync DevTools dependencies
+ shell: bash
+ run: npm run gclient-sync
+
- name: Build and bundle
run: npm run bundle
env:
diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml
index e65baa50..69bc513e 100644
--- a/.github/workflows/run-tests.yml
+++ b/.github/workflows/run-tests.yml
@@ -30,7 +30,6 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 2
- submodules: true
- name: Set up Node.js
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
@@ -44,6 +43,10 @@ jobs:
env:
PUPPETEER_SKIP_DOWNLOAD: true
+ - name: Sync DevTools dependencies
+ shell: bash
+ run: npm run gclient-sync
+
- name: Install browser
shell: bash
run: npx puppeteer browsers install chrome
diff --git a/.github/workflows/test-memory-leaks.yml b/.github/workflows/test-memory-leaks.yml
index 01998094..c078557d 100644
--- a/.github/workflows/test-memory-leaks.yml
+++ b/.github/workflows/test-memory-leaks.yml
@@ -20,7 +20,6 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 2
- submodules: true
- name: Set up Node.js
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
@@ -34,6 +33,10 @@ jobs:
env:
PUPPETEER_SKIP_DOWNLOAD: true
+ - name: Sync DevTools dependencies
+ shell: bash
+ run: npm run gclient-sync
+
- name: Install browser
shell: bash
run: npx puppeteer browsers install chrome