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 8ff2648
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": ["@changesets/changelog-github", { "repo": "marko-js/compat" }],
"changelog": [
"@changesets/changelog-github",
{ "repo": "storybookjs/marko" }
],
"commit": false,
"fixed": [],
"linked": [],
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,16 @@ 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
uses: codecov/codecov-action@v2
release:
runs-on: ubuntu-latest
needs: [format, test]
if: "${{ github.repository_owner == 'marko-js' && github.event_name == 'push' }}"
if: "${{ github.repository_owner == 'storybookjs' && github.event_name == 'push' }}"
steps:
- name: Checkout code
uses: actions/checkout@v3
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 8ff2648

Please sign in to comment.