Skip to content

Commit

Permalink
chore: use Chrome and Firefox from the platform (#204)
Browse files Browse the repository at this point in the history
  • Loading branch information
smalluban committed Nov 17, 2022
1 parent 92f90f5 commit dbe356e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,13 @@ jobs:
with:
node-version: 19
cache: "npm"
- uses: browser-actions/setup-chrome@latest
- uses: browser-actions/setup-firefox@latest

- name: Install dependencies
run: |
npm install
npx playwright install-deps
npx playwright install-deps webkit
- name: Run tests
run: |
npm run test
Expand Down
3 changes: 0 additions & 3 deletions karma.conf.cjs
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
const playwright = require("playwright");

process.env.WEBKIT_HEADLESS_BIN = playwright.webkit.executablePath();
process.env.CHROME_BIN = playwright.chromium.executablePath();
process.env.FIREFOX_BIN = playwright.firefox.executablePath();

const IS_COVERAGE = process.env.NODE_ENV === "coverage";

module.exports = (config) => {
Expand Down

0 comments on commit dbe356e

Please sign in to comment.