Skip to content

Commit ef5c8cd

Browse files
committed
ci: add package duplication checking
1 parent c7ebf72 commit ef5c8cd

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.github/workflows/test.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,23 @@ jobs:
5858
- name: Test
5959
run: pnpm test:js
6060

61+
packages:
62+
name: Packages
63+
runs-on: ubuntu-latest
64+
65+
steps:
66+
- name: Checkout
67+
uses: actions/checkout@v4
68+
69+
- name: Install Tools
70+
uses: ./.github/actions/install-tools
71+
72+
- name: Install Dependencies
73+
uses: ./.github/actions/install-dependencies
74+
75+
- name: Test
76+
run: pnpm test:packages
77+
6178
spelling:
6279
name: Spelling
6380
runs-on: ubuntu-latest

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
"test:format:js": "prettier --check \"**/*.{svelte,js,ts,css,json,md,yml}\"",
4848
"test:format:rust": "cargo fmt -- --check",
4949
"test:js": "eslint .",
50+
"test:packages": "pnpm dedupe --check",
5051
"test:spelling": "cspell \"**/*\"",
5152
"test:svelte": "svelte-check",
5253
"test:types": "tsc --noEmit --pretty",

0 commit comments

Comments
 (0)