Skip to content

Commit 4c61fdf

Browse files
committed
update test scripts
1 parent 740af23 commit 4c61fdf

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.github/workflows/development.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
run: pnpm install
5757

5858
- name: "🎭 install playwright"
59-
run: pnpx playwright install --with-deps --only-shell
59+
run: pnpm playwright install --with-deps --only-shell
6060

6161
- name: "🔍 run tests"
62-
run: pnpx playwright test
62+
run: pnpm test

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929
"playground:dev": "pnpm --filter @tapsioss/playground run start:dev",
3030
"playground:test": "pnpm --filter @tapsioss/playground run start:test",
3131
"dev": "run-p packages:dev playground:dev",
32-
"test": "pnpm run packages:build && pnpm run packages:test",
32+
"build": "pnpm run packages:build",
33+
"test": "pnpm run packages:test",
3334
"lint:ts": "tsc --project tsconfig.json",
3435
"lint:ecma": "eslint --fix",
3536
"lint": "run-p lint:*",

packages/web-components/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"build": "run-p gen:metadata bulld:compile",
1919
"bulld:compile": "tsc --project ./tsconfig.build.json",
2020
"predev": "pnpm run clear",
21+
"pretest": "pnpm --filter @tapsioss/theme run build && pnpm run build",
2122
"test": "playwright test",
2223
"dev": "tsc --watch --project ./tsconfig.dev.json",
2324
"release": "pnpm publish . --tag latest --access public",

0 commit comments

Comments
 (0)