Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
bertdeblock committed Jan 10, 2025
1 parent bdebda0 commit 6c92b33
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}})"
Expand All @@ -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
2 changes: 2 additions & 0 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ export async function resolveConfig(cwd: string): Promise<Config> {
if (path) {
let config;

console.log(path);

try {
config = (await import(pathToFileURL(path).toString())).default;
} catch (cause) {
Expand Down
2 changes: 2 additions & 0 deletions test/config.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {} });
Expand Down

0 comments on commit 6c92b33

Please sign in to comment.