Skip to content

Commit

Permalink
ci: add chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
Ron de las Alas committed Nov 13, 2023
1 parent 2eab2da commit 6f611a9
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 6f611a9

Please sign in to comment.