Skip to content

Commit

Permalink
azure-pipelines: Exclude node_modules from artifact staging (#1858)
Browse files Browse the repository at this point in the history
  • Loading branch information
bwateratmsft authored Dec 17, 2024
1 parent 3cf2916 commit 72f1b4a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion azure-pipelines/templates/stage-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@ steps:
extension.signature.p7s
**/*.tar.gz
**/*.tgz
!**/node_modules/**
TargetFolder: "$(build.artifactstagingdirectory)/build/$(artifact_name)"
condition: and(succeeded(), ne(variables['System.PullRequest.IsFork'], 'True'))
condition: and(succeeded(), ne(variables['System.PullRequest.IsFork'], 'True'))

0 comments on commit 72f1b4a

Please sign in to comment.