[CI] Use a lockfile for installing the datadog package

Without a lockfile, it could fail to compile when the dependencies have changed.
This commit is contained in:
Jakub Beránek 2024-12-09 22:08:01 +01:00 committed by Jakub Beránek
parent a224f3807e
commit 6e22b84296
No known key found for this signature in database
GPG key ID: 909CD0D26483516B
4 changed files with 5018 additions and 10 deletions

View file

@ -235,8 +235,9 @@ jobs:
DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }}
DD_GITHUB_JOB_NAME: ${{ matrix.name }}
run: |
npm install -g @datadog/datadog-ci@^2.x.x
python3 src/ci/scripts/upload-build-metrics.py build/cpu-usage.csv
cd src/ci
npm ci
python3 scripts/upload-build-metrics.py ../../build/cpu-usage.csv
# This job isused to tell bors the final status of the build, as there is no practical way to detect
# when a workflow is successful listening to webhooks only in our current bors implementation (homu).