Skip to content

Commit

Permalink
fix: Fix upgrade.yml workflow failure
Browse files Browse the repository at this point in the history
  • Loading branch information
lym953 committed Jan 22, 2025
1 parent 5eba721 commit 8aec7a7
Show file tree
Hide file tree
Showing 12 changed files with 410 additions and 350 deletions.
9 changes: 5 additions & 4 deletions .eslintrc.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .gitattributes

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Set up Node 16
- name: Set up Node 18
uses: actions/setup-node@v1
with:
node-version: 16
node-version: 18

- name: Cache Node modules
id: cache-node-modules
uses: actions/cache@v2
with:
path: '**/node_modules'
path: "**/node_modules"
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}-${{ matrix.working-dir }}

- name: Install dependencies
Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
strategy:
max-parallel: 4
matrix:
node-version: [16, 18, 20]
node-version: [18, 20]

steps:
- name: Checkout
Expand All @@ -63,9 +63,9 @@ jobs:
id: cache-node-modules
uses: actions/cache@v2
with:
path: '**/node_modules'
path: "**/node_modules"
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}-${{ matrix.working-dir }}

- name: Install common dependencies
working-directory: ./
run: yarn install
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Set up Node 16
- name: Set up Node 18
uses: actions/setup-node@v2
with:
node-version: 16
node-version: 18

- name: Cache Node modules
id: cache-node-modules
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/pull-request-lint.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions .github/workflows/upgrade.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

36 changes: 14 additions & 22 deletions .projen/deps.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 11 additions & 3 deletions .projen/tasks.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .projenrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const project = new awscdk.AwsCdkConstructLibrary({
repositoryUrl: "https://github.com/DataDog/datadog-cdk-constructs",

packageManager: javascript.NodePackageManager.YARN_CLASSIC,
minNodeVersion: "14.15.0",
minNodeVersion: "18.18.0",

jsiiFqn: "projen.AwsCdkConstructLibrary",
defaultReleaseBranch: "main",
Expand Down
31 changes: 16 additions & 15 deletions package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions src/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ export interface DatadogLambdaProps {
* For backward compatibility. It's recommended to use DatadogLambdaProps for
* users who want to add Datadog monitoring for Lambda functions.
*/
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
export interface DatadogProps extends DatadogLambdaProps {}

/*
Expand Down Expand Up @@ -86,6 +87,7 @@ export interface DatadogLambdaStrictProps {
* For backward compatibility. It's recommended to use DatadogLambdaStrictProps for
* users who want to add Datadog monitoring for Lambda functions.
*/
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
export interface DatadogStrictProps extends DatadogLambdaStrictProps {}

export interface Runtime {
Expand Down
Loading

0 comments on commit 8aec7a7

Please sign in to comment.