Skip to content

Commit 8e394f2

Browse files
committed
chore: freeze aws-cdk-lib floor at 2.190.0, add CDK compat CI matrix
1 parent 70e8437 commit 8e394f2

3 files changed

Lines changed: 33 additions & 1 deletion

File tree

.github/dependabot.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ updates:
66
interval: "weekly"
77
open-pull-requests-limit: 10
88
versioning-strategy: "auto"
9+
ignore:
10+
# aws-cdk-lib and constructs are peer dependencies — their minimum floor
11+
# is managed manually in package.json and should not be auto-bumped.
12+
- dependency-name: "aws-cdk-lib"
13+
- dependency-name: "constructs"
914
groups:
1015
all-dependencies:
1116
patterns:

.github/workflows/cdk-compat.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: CDK Compatibility
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
8+
jobs:
9+
check:
10+
name: aws-cdk-lib@${{ matrix.aws-cdk-version }}
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
include:
15+
- aws-cdk-version: "2.190.0"
16+
constructs-version: "10.4.2"
17+
- aws-cdk-version: "latest"
18+
constructs-version: "latest"
19+
steps:
20+
- uses: actions/checkout@v4
21+
- uses: actions/setup-node@v4
22+
with:
23+
node-version: 22
24+
cache: npm
25+
- run: npm ci
26+
- run: npm install --no-save aws-cdk-lib@${{ matrix.aws-cdk-version }} constructs@${{ matrix.constructs-version }}
27+
- run: npm run build

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"semantic-release": "^25.0.1"
5555
},
5656
"peerDependencies": {
57-
"aws-cdk-lib": "^2.220.0",
57+
"aws-cdk-lib": "^2.190.0",
5858
"constructs": "^10.4.2"
5959
},
6060
"release": {

0 commit comments

Comments
 (0)