Skip to content

Commit

Permalink
chore: run tests with deno 2, fix formatting issues it finds
Browse files Browse the repository at this point in the history
  • Loading branch information
bradenmacdonald committed Jan 21, 2025
1 parent c88afa6 commit cbc3650
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Publish to JSR
on:
push:
tags:
- '*' # Publish every time a tag is pushed (unless it contains '/')
tags:
- "*" # Publish every time a tag is pushed (unless it contains '/')

jobs:
publish:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Setup Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.x
deno-version: v2.x

- name: Verify formatting
run: deno fmt --check
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Supported functionality:
<script type="module">
import { S3Client } from "https://esm.sh/jsr/@bradenmacdonald/[email protected]";
// Or:
const { S3Client } = await import('https://esm.sh/jsr/@bradenmacdonald/[email protected]');
const { S3Client } = await import("https://esm.sh/jsr/@bradenmacdonald/[email protected]");
</script>
```

Expand Down Expand Up @@ -132,7 +132,7 @@ await s3client.putObject("key", streamOrData, {
"x-amz-acl": "public-read",
"x-amz-meta-custom": "value",
},
})
});
```

For more examples, check out the tests in [`integration.ts`](./integration.ts)
Expand Down

0 comments on commit cbc3650

Please sign in to comment.