diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0be1236496e9..47f545dd6538 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -67,6 +67,10 @@ jobs: timeout-minutes: 10 needs: - build + strategy: + fail-fast: false + matrix: + module: ['bundler', 'node'] steps: - uses: actions/checkout@v3 @@ -87,6 +91,8 @@ jobs: - name: Test (types) run: pnpm test:types + env: + MODULE_RESOLUTION: ${{ matrix.module }} lint: # autofix workflow will be triggered instead for PRs diff --git a/test/fixtures/basic/nuxt.config.ts b/test/fixtures/basic/nuxt.config.ts index 59b947e0f7e5..c9325385d8d5 100644 --- a/test/fixtures/basic/nuxt.config.ts +++ b/test/fixtures/basic/nuxt.config.ts @@ -15,9 +15,7 @@ export default defineNuxtConfig({ strict: true, tsConfig: { compilerOptions: { - // TODO: For testing (future) support for Node16-style module resolution. - // See https://github.com/nuxt/nuxt/issues/18426 and https://github.com/nuxt/nuxt/pull/18431 - // moduleResolution: 'Node16' + moduleResolution: process.env.MODULE_RESOLUTION } } },