Fix audit alerts and enforce frozen lockfile (#33266)#33302
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Cherry-pick of #33266 to make dependency installs deterministic in CI (frozen lockfile) and reduce audit/lockfile drift by switching to lockfile-enforcing install commands.
Changes:
- Replace
pnpm installwithpnpm install --frozen-lockfileacross multiple GitHub Actions workflows. - Update the documentation build step to use
npm ciinstead ofnpm install. - Remove the custom
setup-chrome-headless-shellcomposite action and adjust workflow/job wiring (notably inlint.yml).
Reviewed changes
Copilot reviewed 23 out of 23 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
tools/scripts/build-all.ts |
Uses npm ci for deterministic installs when building/injecting docs. |
apps/angular/src/polyfills.ts |
Removes outdated “run npm install” hints from commented polyfill imports. |
.github/workflows/wrapper_tests_e2e.yml |
Enforces frozen lockfile for wrapper e2e jobs. |
.github/workflows/update_version.yml |
Enforces frozen lockfile during version bump automation. |
.github/workflows/ts_declarations.yml |
Enforces frozen lockfile for declaration generation/validation jobs. |
.github/workflows/themebuilder_tests.yml |
Enforces frozen lockfile for themebuilder tests. |
.github/workflows/testcafe_tests.yml |
Enforces frozen lockfile for TestCafe pipelines. |
.github/workflows/styles.yml |
Enforces frozen lockfile for style/lint jobs. |
.github/workflows/run-testcafe-on-gh-pages.yml |
Enforces frozen lockfile before running GH Pages TestCafe suite. |
.github/workflows/renovation.yml |
Enforces frozen lockfile for Renovation build steps. |
.github/workflows/qunit_tests-renovation.yml |
Enforces frozen lockfile for QUnit renovation workflow. |
.github/workflows/qunit_tests-additional-renovation.yml |
Enforces frozen lockfile for additional renovation QUnit runs. |
.github/workflows/publish-demos.yml |
Enforces frozen lockfile during demos publishing workflow steps. |
.github/workflows/playgrounds_tests.yml |
Enforces frozen lockfile for playground builds/tests. |
.github/workflows/packages_publishing.yml |
Enforces frozen lockfile for package publishing jobs. |
.github/workflows/lint.yml |
Enforces frozen lockfile and removes the dedicated pnpm_lock job from the workflow. |
.github/workflows/demos_visual_tests_frameworks.yml |
Enforces frozen lockfile for multi-framework visual test workflow. |
.github/workflows/demos_unit_tests.yml |
Enforces frozen lockfile for demos unit tests. |
.github/workflows/default_workflow.yml |
Enforces frozen lockfile in default workflow installs. |
.github/workflows/codeql.yml |
Enforces frozen lockfile prior to CodeQL-related steps. |
.github/workflows/build_all.yml |
Enforces frozen lockfile for the build-all workflow. |
.github/actions/setup-chrome-headless-shell/action.yml |
Removes the composite action that installed chrome-headless-shell. |
.github/actions/run-qunit-tests/action.yml |
Enforces frozen lockfile for QUnit composite action installs. |
c4b4480 to
f80d88c
Compare
IlyaKhD
previously approved these changes
Apr 16, 2026
f80d88c to
72ec645
Compare
IlyaKhD
approved these changes
Apr 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cherry-pick of #33266