Skip to content
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions tools/pipelines/templates/include-policy-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,13 @@ stages:
echo "##vso[task.logissue type=error]Build should not create extraneous files"
exit -1;
fi

# Prune the pnpm store before it's cached. This removes any deps that are not used by the current build.
- task: Bash@3
displayName: Prune pnpm store
inputs:
targetType: inline
workingDirectory: '${{ parameters.buildDirectory }}'
script: |
set -eu -o pipefail
pnpm store prune
Loading