build: pin envinfo versions in github actions

Currently they all run `npx envinfo` without pinning the version.
This can be a supply-chain risk.

Signed-off-by: Joyee Cheung <joyeec9h3@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/64117
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day>
This commit is contained in:
Joyee Cheung authored and Richard Lau committed 2026-07-03 16:04:35 +00:00
1 parent 189e830eb3
commit f4e7bf1f1c
12 files changed
+18 -18

No files matched your search

+2 -2
View File
@@ -83,7 +83,7 @@ jobs:
python-version: ${{ env.PYTHON_VERSION }}
allow-prereleases: true
- name: Environment Information
run: npx envinfo
run: npx envinfo@7.21.0
- name: Make tarball
run: |
export DISTTYPE=nightly
@@ -125,7 +125,7 @@ jobs:
with:
version: v0.16.0
- name: Environment Information
run: npx envinfo
run: npx envinfo@7.21.0
- name: Download tarball
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
@@ -68,7 +68,7 @@ jobs:
with:
version: v0.16.0
- name: Environment Information
run: npx envinfo
run: npx envinfo@7.21.0
- name: Install gcovr
run: pip install gcovr==7.2
- name: Configure
+1 -1
View File
@@ -68,7 +68,7 @@ jobs:
with:
version: v0.16.0
- name: Environment Information
run: npx envinfo
run: npx envinfo@7.21.0
- name: Install gcovr
run: pip install gcovr==7.2
- name: Configure
+1 -1
View File
@@ -84,7 +84,7 @@ jobs:
rustup override set "$RUSTC_VERSION"
rustup --version
- name: Environment Information
run: npx envinfo
run: npx envinfo@7.21.0
- name: Build
run: ./vcbuild.bat clang-cl v8temporal
# TODO(bcoe): investigate tests that fail with coverage enabled
+1 -1
View File
@@ -44,7 +44,7 @@ jobs:
python-version: ${{ env.PYTHON_VERSION }}
allow-prereleases: true
- name: Environment Information
run: npx envinfo
run: npx envinfo@7.21.0
# install a version and checkout
- name: Get latest nightly
+1 -1
View File
@@ -24,7 +24,7 @@ jobs:
with:
node-version: ${{ env.NODE_VERSION }}
- name: Environment Information
run: npx envinfo
run: npx envinfo@7.21.0
- name: Build lto
run: |
sudo apt-get update && sudo apt-get install ninja-build -y
+1 -1
View File
@@ -32,7 +32,7 @@ jobs:
with:
node-version: ${{ env.NODE_VERSION }}
- name: Environment Information
run: npx envinfo
run: npx envinfo@7.21.0
- name: Build
run: NODE=$(command -v node) make doc-only
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
+6 -6
View File
@@ -33,7 +33,7 @@ jobs:
with:
node-version: ${{ env.NODE_VERSION }}
- name: Environment Information
run: npx envinfo
run: npx envinfo@7.21.0
- name: Lint addon docs
run: NODE=$(command -v node) make lint-addon-docs
lint-cpp:
@@ -49,7 +49,7 @@ jobs:
python-version: ${{ env.PYTHON_VERSION }}
allow-prereleases: true
- name: Environment Information
run: npx envinfo
run: npx envinfo@7.21.0
- name: Lint C/C++ files
run: make lint-cpp
format-cpp:
@@ -70,7 +70,7 @@ jobs:
python-version: ${{ env.PYTHON_VERSION }}
allow-prereleases: true
- name: Environment Information
run: npx envinfo
run: npx envinfo@7.21.0
- name: Format C/C++ files
run: |
make format-cpp-build
@@ -103,7 +103,7 @@ jobs:
with:
node-version: ${{ env.NODE_VERSION }}
- name: Environment Information
run: npx envinfo
run: npx envinfo@7.21.0
- name: Lint JavaScript files
run: |
set +e
@@ -184,7 +184,7 @@ jobs:
python-version: ${{ env.PYTHON_VERSION }}
allow-prereleases: true
- name: Environment Information
run: npx envinfo
run: npx envinfo@7.21.0
- name: Lint Python
run: |
make lint-py-build
@@ -208,7 +208,7 @@ jobs:
python-version: ${{ env.PYTHON_VERSION }}
allow-prereleases: true
- name: Environment Information
run: npx envinfo
run: npx envinfo@7.21.0
- name: Lint YAML
run: |
make lint-yaml-build || true
+1 -1
View File
@@ -65,7 +65,7 @@ jobs:
with:
version: v0.16.0
- name: Environment Information
run: npx envinfo
run: npx envinfo@7.21.0
- name: Build
run: make build-ci -j4 V=1 CONFIG_FLAGS="--error-on-warn"
- name: Test Internet
+1 -1
View File
@@ -70,7 +70,7 @@ jobs:
with:
version: v0.16.0
- name: Environment Information
run: npx envinfo
run: npx envinfo@7.21.0
- name: Build
working-directory: node
run: make build-ci -j4 V=1 CONFIG_FLAGS="--error-on-warn --v8-enable-temporal-support --experimental-quic"
+1 -1
View File
@@ -81,7 +81,7 @@ jobs:
with:
version: v0.16.0
- name: Environment Information
run: npx envinfo
run: npx envinfo@7.21.0
- name: Build
working-directory: node
run: make build-ci -j4 V=1 CONFIG_FLAGS="--error-on-warn --v8-enable-temporal-support"
+1 -1
View File
@@ -104,7 +104,7 @@ jobs:
with:
version: v0.16.0
- name: Environment Information
run: npx envinfo
run: npx envinfo@7.21.0
# The `npm ci` for this step fails a lot as part of the Test step. Run it
# now so that we don't have to wait 2 hours for the Build step to pass
# first before that failure happens. (And if there's something about