Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin azure pipeline dependency versions #325

Merged
merged 1 commit into from
Mar 1, 2024
Merged

Pin azure pipeline dependency versions #325

merged 1 commit into from
Mar 1, 2024

Conversation

tleed5
Copy link
Contributor

@tleed5 tleed5 commented Feb 26, 2024

[SC-70520]

Summary

In versions > 6.0.599 the node_modules grew too large due to the azure-pipelines-tool-lib depending on ^4.1.0 of azure-pipelines-task-lib that ended up installing version 4.9.1 that had more dependencies specifically deasync

Because the versions of these packages isn't defined in the package.json and rather they are just installed in the pack script without a targeted version they end up just using the latest version.

Results

  • Pin azure-pipelines-task-lib and azure-pipelines-tool-lib in pack.ps1 to last known deployable versions

Before version pin artifact size: 147.3 MB
After version pin artifact size: 33.7 MB

Copy link

@tleed5 tleed5 merged commit 61ad31e into main Mar 1, 2024
9 checks passed
@tleed5 tleed5 deleted the tl/pin-dependencies branch March 1, 2024 03:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants