From 91b43caa74448cc9a872d7e1d0be4d16f9c4b2eb Mon Sep 17 00:00:00 2001 From: kauanAfonso Date: Mon, 22 Jun 2026 15:46:03 -0300 Subject: [PATCH 1/3] fix: update Chrome installation for Puppeteer on Linux Signed-off-by: kauanAfonso --- .github/workflows/continuous-integration.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 8b30c1668cd5..574e6a4bf1a2 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -43,6 +43,9 @@ jobs: - name: Install dependencies env: PYTHON: ${{env.pythonLocation}}/bin/python3 + - name: Install Chrome for Puppeteer (Linux only) + if: runner.os == 'Linux' + run: npx @puppeteer/browsers install chrome@stable run: npm ci - name: Build run: node packages/build/bin/compile-package -b From 7eacd4c717102bb1aa254c4e97c401fda0363808 Mon Sep 17 00:00:00 2001 From: kauanAfonso Date: Mon, 22 Jun 2026 16:09:57 -0300 Subject: [PATCH 2/3] fix: added missing run: npm ci command to the Install dependencies Signed-off-by: kauanAfonso --- .github/workflows/continuous-integration.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 574e6a4bf1a2..03ace18b3b14 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -43,10 +43,10 @@ jobs: - name: Install dependencies env: PYTHON: ${{env.pythonLocation}}/bin/python3 + run: npm ci - name: Install Chrome for Puppeteer (Linux only) if: runner.os == 'Linux' run: npx @puppeteer/browsers install chrome@stable - run: npm ci - name: Build run: node packages/build/bin/compile-package -b - name: Run package tests From e6e9ea47e56b6140e04b8a1916de780f8cbf6bf7 Mon Sep 17 00:00:00 2001 From: kauanAfonso Date: Tue, 23 Jun 2026 09:22:42 -0300 Subject: [PATCH 3/3] fix: implement the more robust Chrome installation solution for CI Signed-off-by: kauanAfonso --- .github/workflows/continuous-integration.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 03ace18b3b14..a3b5c99dad47 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -44,16 +44,24 @@ jobs: env: PYTHON: ${{env.pythonLocation}}/bin/python3 run: npm ci - - name: Install Chrome for Puppeteer (Linux only) + - name: Install Chrome (Linux only) if: runner.os == 'Linux' - run: npx @puppeteer/browsers install chrome@stable + run: | + sudo apt-get update + sudo apt-get install -y google-chrome-stable - name: Build run: node packages/build/bin/compile-package -b - name: Run package tests + env: + PUPPETEER_EXECUTABLE_PATH: /usr/bin/google-chrome run: node packages/build/bin/run-nyc node packages/build/bin/run-mocha --lang en_US.UTF-8 --reporter spec "packages/*/dist/__tests__/**/*.js" "packages/build/test/**/*.js" - name: Run extension tests + env: + PUPPETEER_EXECUTABLE_PATH: /usr/bin/google-chrome run: node packages/build/bin/run-nyc node packages/build/bin/run-mocha --lang en_US.UTF-8 --reporter spec "extensions/*/dist/__tests__/**/*.js" - name: Run example tests + env: + PUPPETEER_EXECUTABLE_PATH: /usr/bin/google-chrome run: node packages/build/bin/run-nyc node packages/build/bin/run-mocha --lang en_US.UTF-8 --reporter spec "examples/*/dist/__tests__/**/*.js" - name: Generate coverage report run: node packages/build/bin/run-nyc report --reporter=lcov