diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 10af0a3..5be00b5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,12 +7,12 @@ on: - main jobs: - lint: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: ./.github/actions/setup-environment - - run: pnpm lint + # lint: + # runs-on: ubuntu-latest + # steps: + # - uses: actions/checkout@v4 + # - uses: ./.github/actions/setup-environment + # - run: pnpm lint test: name: "test (node: ${{matrix.node-version}}, os: ${{matrix.os}})" @@ -27,10 +27,10 @@ jobs: fail-fast: false matrix: node-version: - - 18 - - 20 + # - 18 + # - 20 - 22 os: - - macos-latest - - ubuntu-latest + # - macos-latest + # - ubuntu-latest - windows-latest diff --git a/src/config.ts b/src/config.ts index 8e70405..c318ac3 100644 --- a/src/config.ts +++ b/src/config.ts @@ -57,6 +57,8 @@ export async function resolveConfig(cwd: string): Promise { if (path) { let config; + console.log(path); + try { config = (await import(pathToFileURL(path).toString())).default; } catch (cause) { diff --git a/test/config.test.ts b/test/config.test.ts index eb528d8..0f942c4 100644 --- a/test/config.test.ts +++ b/test/config.test.ts @@ -14,6 +14,8 @@ it("supports a `gember.config.js` file", async (ctx) => { await project.write(); + console.log(project.baseDir); + const config = await resolveConfig(project.baseDir); ctx.expect(config).to.deep.equal({ hooks: {} });