Skip to content

Commit

Permalink
Merge pull request #698 from thebuilder/fix/action-install-playwright
Browse files Browse the repository at this point in the history
Fix Playwright install script
  • Loading branch information
thebuilder authored Aug 8, 2024
2 parents c9cef8f + 4193313 commit b6ef3ce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Install dependencies
run: pnpm install
- name: Install playwright
run: pnpx playwright install chromium
run: pnpm exec playwright install
- name: Lint
run: pnpm biome ci .
- name: Test
Expand Down Expand Up @@ -57,7 +57,8 @@ jobs:
- name: Install ${{ matrix.react }}
run: pnpm add -D react@${{ matrix.react }} react-dom@${{ matrix.react }}
- name: Validate types
run: pnpm tsc
- name: Run test
run: |
pnpm tsc
pnpx playwright install chromium
pnpm exec playwright install
pnpm test
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"type": "git",
"url": "https://github.com/thebuilder/react-intersection-observer.git"
},
"packageManager": "pnpm@9.5.0+sha256.dbdf5961c32909fb030595a9daa1dae720162e658609a8f92f2fa99835510ca5",
"packageManager": "pnpm@9.7.0+sha256.b35018fbfa8f583668b2649e407922a721355cd81f61beeb4ac1d4258e585559",
"scripts": {
"prebuild": "rm -rf dist lib",
"build": "tsup && mkdir dist/esm && cp dist/index.mjs dist/esm/index.js",
Expand Down

0 comments on commit b6ef3ce

Please sign in to comment.