Skip to content

Commit

Permalink
fix: ensure playwright installed for ci
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanPiercey committed Sep 28, 2023
1 parent 80de033 commit 2de0308
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ jobs:
cache: npm
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps chromium
- name: Run tests
run: npm run ci:test
- name: Report code coverage
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"format": "npm run build:types && eslint -f unix --fix . && prettier . --write --log-level=error && sort-package-json --quiet ./{,packages/*/*/,tests/frameworks/*/}package.json",
"prepare": "husky install",
"release": "npm run build && changeset publish",
"test": "npm run build:js && node -r '~preload' --test ./tests/fixtures/*/test.ts",
"test": "npm run build:js && node -r '~preload' --test-reporter=spec --test ./tests/fixtures/*/test.ts",
"version": "changeset version && npm i --package-lock-only"
},
"devDependencies": {
Expand Down

0 comments on commit 2de0308

Please sign in to comment.