Skip to content

Commit c38723c

Browse files
committed
chore: update commands to use pnpm exec
1 parent 1856e8b commit c38723c

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
cache: 'pnpm'
3737

3838
- name: Install Dependencies
39-
run: pnpm install && npx playwright install chromium
39+
run: pnpm install && pnpm exec playwright install chromium
4040

4141
- name: Run Test
4242
run: pnpm run test

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919
"dev": "rslib -w",
2020
"lint": "rslint && prettier -c .",
2121
"lint:write": "rslint --fix && prettier -w .",
22-
"prepare": "simple-git-hooks && npm run build",
22+
"prepare": "simple-git-hooks && pnpm run build",
2323
"test": "playwright test",
24-
"bump": "npx bumpp"
24+
"bump": "pnpx bumpp"
2525
},
2626
"simple-git-hooks": {
2727
"pre-commit": "pnpm run lint:write"

playground/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
{
22
"name": "playground",
33
"private": true,
4+
"type": "module",
45
"version": "0.0.0",
56
"scripts": {
6-
"dev": "npx rsbuild",
7-
"build": "npx rsbuild build"
7+
"dev": "pnpm exec rsbuild",
8+
"build": "pnpm exec rsbuild build"
89
}
910
}

0 commit comments

Comments
 (0)