Skip to content

Commit

Permalink
ci: fix npm pack step
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinbarron committed May 22, 2024
1 parent 2740d29 commit 3aa16b0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .pipelines/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,15 @@ stages:
versionSpec: '20.x'
displayName: Install nodejs 20.x
# building the package
- task: Npm@1
inputs:
command: 'pack'
- script: |
npm pack
displayName: npm pack
# move the package to a dist folder
- script: |
mkdir dist
mv *.tgz dist/
cp package.json dist/
displayName: Move package to dist folder
# use OneES to publish the package to NPM
- task: EsrpRelease@5
inputs:
Expand Down

0 comments on commit 3aa16b0

Please sign in to comment.