From 80f8f7d2933f5e1bcdff566487fb2c37ca4d3840 Mon Sep 17 00:00:00 2001 From: Muhammad Yasser Jazirahly Date: Thu, 26 Dec 2024 13:40:57 +0400 Subject: [PATCH] Remove puppeteer --- .github/workflows/ci.yaml | 10 +++++----- package.json | 1 - 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f467a9c..627f0ec 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -22,10 +22,10 @@ jobs: with: node-version: ${{ matrix.node-version }} - - name: Install Chrome - run: | - sudo apt-get update - sudo apt-get install -y chromium-browser + - name: Setup Chrome + uses: browser-actions/setup-chrome@latest + with: + chrome-version: stable - name: Install dependencies run: npm install @@ -33,4 +33,4 @@ jobs: - name: Run ESLint and tests run: npm test env: - CHROME_BIN: /usr/bin/chromium-browser \ No newline at end of file + CHROME_BIN: chrome \ No newline at end of file diff --git a/package.json b/package.json index 6ef6806..63d3ec1 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,6 @@ "karma": "^6.1.0", "karma-cli": "^1.0.1", "karma-chrome-launcher": "^3.1.0", - "puppeteer": "^21.0.0", "karma-qunit": "^4.1.2", "qunit": "^2.14.0" },