Skip to content

Commit b6ef3ce

Browse files
authored
Merge pull request thebuilder#698 from thebuilder/fix/action-install-playwright
Fix Playwright install script
2 parents c9cef8f + 4193313 commit b6ef3ce

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Install dependencies
1818
run: pnpm install
1919
- name: Install playwright
20-
run: pnpx playwright install chromium
20+
run: pnpm exec playwright install
2121
- name: Lint
2222
run: pnpm biome ci .
2323
- name: Test
@@ -57,7 +57,8 @@ jobs:
5757
- name: Install ${{ matrix.react }}
5858
run: pnpm add -D react@${{ matrix.react }} react-dom@${{ matrix.react }}
5959
- name: Validate types
60+
run: pnpm tsc
61+
- name: Run test
6062
run: |
61-
pnpm tsc
62-
pnpx playwright install chromium
63+
pnpm exec playwright install
6364
pnpm test

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"type": "git",
3838
"url": "https://github.com/thebuilder/react-intersection-observer.git"
3939
},
40-
"packageManager": "pnpm@9.5.0+sha256.dbdf5961c32909fb030595a9daa1dae720162e658609a8f92f2fa99835510ca5",
40+
"packageManager": "pnpm@9.7.0+sha256.b35018fbfa8f583668b2649e407922a721355cd81f61beeb4ac1d4258e585559",
4141
"scripts": {
4242
"prebuild": "rm -rf dist lib",
4343
"build": "tsup && mkdir dist/esm && cp dist/index.mjs dist/esm/index.js",

0 commit comments

Comments
 (0)