Skip to content

Commit

Permalink
test(integration): test on more browsers
Browse files Browse the repository at this point in the history
see suggestion in #191 (comment)
  • Loading branch information
trieloff committed Jun 10, 2024
1 parent a9ef522 commit 9381e92
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ jobs:
with:
node-version: '20.x'
- run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- run: npm run test:ci
- uses: codecov/codecov-action@v4
with:
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
"main": "src/index.js",
"type": "module",
"scripts": {
"test": "web-test-runner --node--resolve --coverage",
"test:ci": "web-test-runner --node-resolve --coverage --playwright",
"setup-playwright": "npx playwright install --with-deps chromium firefox webkit",
"test": "npm run setup-playwright && web-test-runner --node-resolve --coverage --playwright --browsers chromium firefox webkit",
"test:ci": "npm run setup-playwright && web-test-runner --node-resolve --coverage --playwright --browsers chromium firefox webkit",
"test:watch": "web-test-runner --node-resolve --coverage --watch",
"lint": "eslint .",
"docs": "npx jsdoc2md -c .jsdoc.json --files 'src/*.js' > docs/API.md",
Expand Down

0 comments on commit 9381e92

Please sign in to comment.