Skip to content

Commit

Permalink
fix pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
ricsam committed Dec 12, 2024
1 parent db5404e commit 1acae89
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ jobs:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- run: bun install
- run: bun test || true
- run: cat output.txt
- run: CI=false bun test
# - run: bun run build
# - run: |
# echo '@ricsam:registry=https://registry.npmjs.org' >> .npmrc
Expand Down
12 changes: 0 additions & 12 deletions src/backends/s3/create-s3-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,22 +27,10 @@ export function createS3Client(uri: string): S3Client {
};
}

const file = Bun.file(path.join('../../../', 'output.txt'));
const w = file.writer();

config.endpoint =
parsed.endpoint ??
process.env.AWS_ENDPOINT_URL_S3 ??
process.env.AWS_ENDPOINT_URL;

const customLogger = new console.Console({
stderr: new stream.Writable(w),
stdout: new stream.Writable(w),
});

config.logger = customLogger;

customLogger.log('Creating S3 client with config:', config);

return new S3Client(config);
}

0 comments on commit 1acae89

Please sign in to comment.