Unverified Commit 22c8bd1a authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

Update datadog job to use pnpm dlx (#76337)

This aims to alleviate an npx cache issue occurring causing datadog
script to fail to execute with `'datadog-ci' is not recognized as an
internal or external command`

x-ref:
https://github.com/vercel/next.js/actions/runs/13455042696/job/37598937307#step:36:44
parent ceced4f0
...@@ -249,14 +249,14 @@ jobs: ...@@ -249,14 +249,14 @@ jobs:
# Add a `test.type` tag to distinguish between turbopack and next.js runs # Add a `test.type` tag to distinguish between turbopack and next.js runs
# Add a `nextjs.test_session.name` tag to help identify the job # Add a `nextjs.test_session.name` tag to help identify the job
if [ -d ./test/test-junit-report ]; then if [ -d ./test/test-junit-report ]; then
npx @datadog/datadog-ci@2.45.1 junit upload \ pnpm dlx @datadog/datadog-ci@2.45.1 junit upload \
--service nextjs \ --service nextjs \
--tags test.type:nextjs \ --tags test.type:nextjs \
--tags test_session.name:"${{ inputs.stepName }}" \ --tags test_session.name:"${{ inputs.stepName }}" \
./test/test-junit-report ./test/test-junit-report
fi fi
if [ -d ./test/turbopack-test-junit-report ]; then if [ -d ./test/turbopack-test-junit-report ]; then
npx @datadog/datadog-ci@2.45.1 junit upload \ pnpm dlx @datadog/datadog-ci@2.45.1 junit upload \
--service nextjs \ --service nextjs \
--tags test.type:turbopack \ --tags test.type:turbopack \
--tags test_session.name:"${{ inputs.stepName }}" \ --tags test_session.name:"${{ inputs.stepName }}" \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment