Skip to content

Commit 33e230c

Browse files
committed
fix: run dedupe before testing to fix type incompatibilities
1 parent 68744a6 commit 33e230c

File tree

3 files changed

+7
-10
lines changed

3 files changed

+7
-10
lines changed

pnpm-lock.yaml

Lines changed: 3 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/vue-macros.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { runInRepo } from '../utils.ts'
22
import { Overrides, RunOptions } from '../types.ts'
3+
import { REGISTRY_ADDRESS } from '../registry.ts'
34
import YAML from 'yaml'
45

56
export async function test(options: RunOptions) {
@@ -8,6 +9,7 @@ export async function test(options: RunOptions) {
89
...options,
910
repo: 'vue-macros/vue-macros',
1011
branch: 'main',
12+
beforeBuild: `pnpm dedupe --registry=${REGISTRY_ADDRESS}`,
1113
build: 'build',
1214
test: ['test:ecosystem'],
1315
overrideVueVersion,

tests/vueuse.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
import { runInRepo } from '../utils.ts'
22
import { RunOptions } from '../types.ts'
3+
import { REGISTRY_ADDRESS } from '../registry.ts'
34

45
export async function test(options: RunOptions) {
56
await runInRepo({
67
...options,
78
repo: 'vueuse/vueuse',
89
branch: 'main',
10+
beforeBuild: `pnpm dedupe --registry=${REGISTRY_ADDRESS}`,
911
build: 'build',
1012
test: ['typecheck', 'test'],
1113
})

0 commit comments

Comments
 (0)