diff --git a/.github/workflows/node-integration.yml b/.github/workflows/node-integration.yml index 054b7f1b657a7..929d73b513141 100644 --- a/.github/workflows/node-integration.yml +++ b/.github/workflows/node-integration.yml @@ -107,7 +107,7 @@ jobs: echo "::group::packing npm release $npmVersion" pushd "$npmDir" >/dev/null node scripts/resetdeps.js - npmtarball="$(node . pack --loglevel=silent --json | jq -r .[0].filename)" + npmtarball="$(node . pack --loglevel=silent --json | jq -r 'to_entries[0].value.filename')" tar czf "$npmFile" -C "$npmDir" . popd >/dev/null echo "npm=$npmFile" >> $GITHUB_OUTPUT diff --git a/scripts/template-oss/node-integration-yml.hbs b/scripts/template-oss/node-integration-yml.hbs index 9b4391d3991f2..5fef5f10c2b1f 100644 --- a/scripts/template-oss/node-integration-yml.hbs +++ b/scripts/template-oss/node-integration-yml.hbs @@ -105,7 +105,7 @@ jobs: echo "::group::packing npm release $npmVersion" pushd "$npmDir" >/dev/null node scripts/resetdeps.js - npmtarball="$(node . pack --loglevel=silent --json | jq -r .[0].filename)" + npmtarball="$(node . pack --loglevel=silent --json | jq -r 'to_entries[0].value.filename')" tar czf "$npmFile" -C "$npmDir" . popd >/dev/null echo "npm=$npmFile" >> $GITHUB_OUTPUT