From 6f611a95c3f9a6372e916577090fc22f1e4e0fb1 Mon Sep 17 00:00:00 2001 From: Ron de las Alas Date: Mon, 13 Nov 2023 10:34:41 -0500 Subject: [PATCH] ci: add chrome --- .github/workflows/ci-cd.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 752a7ef1430..3c9b267f0bb 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -141,6 +141,10 @@ jobs: JEST_JUNIT_OUTPUT_DIR: test-results/integration steps: - uses: actions/checkout@v4 + - name: Install Chrome Dependencies + run: | + sudo apt-get update + sudo apt-get install -y libgconf-2-4 libatk1.0-0 libatk-bridge2.0-0 libgdk-pixbuf2.0-0 libgtk-3-0 libgbm-dev libnss3-dev libxss-dev libasound2 - name: Retrieve npm dependencies uses: actions/cache@v3 with: @@ -153,6 +157,13 @@ jobs: path: ./build key: ${{ runner.os }}-build-${{ hashFiles('package-lock.json') }} + - uses: browser-actions/setup-chrome@v1 + with: + chrome-version: stable + id: setup-chrome + - run: | + echo Installed chromium version: ${{ steps.setup-chrome.outputs.chrome-version }} + ${{ steps.setup-chrome.outputs.chrome-path }} --version # - name: Run Integration Tests # run: npm run test:integration -- --reporters="default" --reporters="jest-junit" --maxWorkers="2" # - name: Store Integration Test Results