diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c0802f2..5416615 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,7 +44,6 @@ jobs: run: pnpm playwright-core install chromium - run: pnpm dev:prepare - - run: pnpm test:types - run: pnpm lint - run: pnpm test -- --coverage - run: pnpm build diff --git a/playground/providers/custom.ts b/playground/providers/custom.ts index 576a974..86e8854 100644 --- a/playground/providers/custom.ts +++ b/playground/providers/custom.ts @@ -1,7 +1,7 @@ -import { defineFontProvider } from '@nuxt/fonts/utils' +import type { FontProvider } from '@nuxt/fonts' const resolvableFonts = new Set() -export default defineFontProvider({ +export default { async setup () { // Do some stuff resolvableFonts.add('SomeFontFromCustomProvider') @@ -14,5 +14,5 @@ export default defineFontProvider({ } } }, -}) +} satisfies FontProvider