Skip to content

Commit

Permalink
CI: Run some GH action jobs on the latest Node.js version as well
Browse files Browse the repository at this point in the history
All the jobs that are currently testing all all supported Node.js
versions has now been amended to also test on the latest Node.js version
as well.
  • Loading branch information
watson committed Feb 27, 2025
1 parent 9bc5d34 commit 73581cf
Show file tree
Hide file tree
Showing 8 changed files with 33 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/actions/node/latest/action.yml
Original file line number Diff line number Diff line change
@@ -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'
4 changes: 4 additions & 0 deletions .github/workflows/appsec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/debugger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/lambda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/llmobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/profiling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/tracing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 73581cf

Please sign in to comment.