Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:
Expand All @@ -16,7 +15,7 @@ jobs:

strategy:
matrix:
node-version: [20.x]
node-version: [20.x, 22.x, 24.x]

steps:
- uses: actions/checkout@v4
Expand All @@ -31,7 +30,5 @@ jobs:
- run: npm ci
- run: npm run build --if-present
- run: npm run lint --if-present
- name: DynamoDB Client v2 Tests
run: npm run test:v2
- name: DynamoDB Client v3 Tests
run: npm run test:v3
- name: DynamoDB Tests
run: npm test
7 changes: 0 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,6 @@ const client = new DynamoDBClient({
})
```

If you are using the legacy AWS SDK V2, import the AWS `DynamoDB` class and create a `DocumentClient` instance.

```javascript
import DynamoDB from 'aws-sdk/clients/dynamodb'
const client = new DynamoDB.DocumentClient(params)
```

Note: you can use the Table.setClient API to defer setting the client or replace the client at any time.

Initialize your OneTable `Table` instance and define your models via a schema.
Expand Down
1 change: 0 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/*
Jest configuration
*/
process.env.AWS_SDK_JS_SUPPRESS_MAINTENANCE_MODE_MESSAGE = '1';
module.exports = {
coveragePathIgnorePatterns: ['node_modules', 'test/utils'],
coverageDirectory: 'coverage',
Expand Down
Loading
Loading