diff --git a/.github/actions/node/latest/action.yml b/.github/actions/node/latest/action.yml new file mode 100644 index 00000000000..234ab9b80cc --- /dev/null +++ b/.github/actions/node/latest/action.yml @@ -0,0 +1,9 @@ +name: Node.js Latest +description: Install the latest version of Node.js +runs: + using: composite + steps: + - uses: actions/setup-node@v4 + with: + cache: yarn + node-version: 'latest' diff --git a/.github/workflows/appsec.yml b/.github/workflows/appsec.yml index e9893226528..a8539184b67 100644 --- a/.github/workflows/appsec.yml +++ b/.github/workflows/appsec.yml @@ -34,6 +34,8 @@ jobs: - run: yarn test:appsec:ci - uses: ./.github/actions/node/active-lts - run: yarn test:appsec:ci + - uses: ./.github/actions/node/latest + - run: yarn test:appsec:ci - uses: codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3 # v5.3.1 windows: @@ -190,6 +192,8 @@ jobs: - run: yarn test:appsec:plugins:ci - uses: ./.github/actions/node/active-lts - run: yarn test:appsec:plugins:ci + - uses: ./.github/actions/node/latest + - run: yarn test:appsec:plugins:ci - uses: codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3 # v5.3.1 next: diff --git a/.github/workflows/debugger.yml b/.github/workflows/debugger.yml index 43c1fdd7a7a..ed83ae9c5b8 100644 --- a/.github/workflows/debugger.yml +++ b/.github/workflows/debugger.yml @@ -29,6 +29,9 @@ jobs: - uses: ./.github/actions/node/active-lts - run: yarn test:debugger:ci - run: yarn test:integration:debugger + - uses: ./.github/actions/node/latest + - run: yarn test:debugger:ci + - run: yarn test:integration:debugger - if: always() uses: ./.github/actions/testagent/logs with: diff --git a/.github/workflows/lambda.yml b/.github/workflows/lambda.yml index 3a315437348..5324aa8c9bb 100644 --- a/.github/workflows/lambda.yml +++ b/.github/workflows/lambda.yml @@ -26,6 +26,8 @@ jobs: - run: yarn test:lambda:ci - uses: ./.github/actions/node/active-lts - run: yarn test:lambda:ci + - uses: ./.github/actions/node/latest + - run: yarn test:lambda:ci - if: always() uses: ./.github/actions/testagent/logs with: diff --git a/.github/workflows/llmobs.yml b/.github/workflows/llmobs.yml index e0bc61bb1b9..0d244ff98f9 100644 --- a/.github/workflows/llmobs.yml +++ b/.github/workflows/llmobs.yml @@ -26,6 +26,8 @@ jobs: - run: yarn test:llmobs:sdk:ci - uses: ./.github/actions/node/active-lts - run: yarn test:llmobs:sdk:ci + - uses: ./.github/actions/node/latest + - run: yarn test:llmobs:sdk:ci - if: always() uses: ./.github/actions/testagent/logs with: diff --git a/.github/workflows/plugins.yml b/.github/workflows/plugins.yml index 69f94f7099a..bb30b54dc2f 100644 --- a/.github/workflows/plugins.yml +++ b/.github/workflows/plugins.yml @@ -242,6 +242,8 @@ jobs: - run: yarn test:plugins:ci - uses: ./.github/actions/node/active-lts - run: yarn test:plugins:ci + - uses: ./.github/actions/node/latest + - run: yarn test:plugins:ci - uses: codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3 # v5.3.1 cookie-parser: @@ -339,6 +341,8 @@ jobs: - run: yarn test:plugins:ci - uses: ./.github/actions/node/active-lts - run: yarn test:plugins:ci + - uses: ./.github/actions/node/latest + - run: yarn test:plugins:ci - if: always() uses: ./.github/actions/testagent/logs with: @@ -498,6 +502,8 @@ jobs: - run: yarn test:plugins:ci - uses: ./.github/actions/node/active-lts - run: yarn test:plugins:ci + - uses: ./.github/actions/node/latest + - run: yarn test:plugins:ci - if: always() uses: ./.github/actions/testagent/logs with: @@ -749,6 +755,8 @@ jobs: - run: yarn test:plugins:ci - uses: ./.github/actions/node/active-lts - run: yarn test:plugins:ci + - uses: ./.github/actions/node/latest + - run: yarn test:plugins:ci - if: always() uses: ./.github/actions/testagent/logs with: diff --git a/.github/workflows/profiling.yml b/.github/workflows/profiling.yml index e17155cc87d..34b5328737d 100644 --- a/.github/workflows/profiling.yml +++ b/.github/workflows/profiling.yml @@ -38,6 +38,9 @@ jobs: - uses: ./.github/actions/node/active-lts - run: yarn test:profiler:ci - run: yarn test:integration:profiler + - uses: ./.github/actions/node/latest + - run: yarn test:profiler:ci + - run: yarn test:integration:profiler - uses: codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3 # v5.3.1 windows: diff --git a/.github/workflows/tracing.yml b/.github/workflows/tracing.yml index 2aa4ecec980..3cf981e2fd2 100644 --- a/.github/workflows/tracing.yml +++ b/.github/workflows/tracing.yml @@ -34,6 +34,8 @@ jobs: - run: yarn test:trace:core:ci - uses: ./.github/actions/node/active-lts - run: yarn test:trace:core:ci + - uses: ./.github/actions/node/latest + - run: yarn test:trace:core:ci - uses: codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3 # v5.3.1 windows: