Skip to content

Commit b466e9d

Browse files
[engsys] Add back pre-publish checks for package validation (#36598)
### Packages impacted by this PR N/A ### Issues associated with this PR #36575 ### Describe the problem that is addressed by this PR The pre-publish local tarball validation has been useful to ensure packages don't have dependency issues. We lost it in refactoring. This PR brings it back. --------- Co-authored-by: Wes Haggard <[email protected]>
1 parent 460d348 commit b466e9d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

eng/pipelines/templates/stages/archetype-js-release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ stages:
3737
PackageName: '@azure/template'
3838
ServiceDirectory: template
3939
TestPipeline: ${{ parameters.TestPipeline }}
40+
- script: >
41+
ls $(Pipeline.Workspace)/${{parameters.ArtifactName}}/${{artifact.name}}/*.tgz && npm install `ls $(Pipeline.Workspace)/${{parameters.ArtifactName}}/${{artifact.name}}/*.tgz`
42+
displayName: Validating package can be installed
4043
- template: /eng/common/pipelines/templates/steps/verify-changelog.yml
4144
parameters:
4245
PackageName: ${{artifact.name}}

0 commit comments

Comments
 (0)