Skip to content

Commit

Permalink
Update azure-pipelines.yml for Azure Pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
teddmason committed Jan 25, 2024
1 parent 0888406 commit 424b70f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,13 @@ steps:
- script: |
NPM_VERSION=$(node -p "require('./package.json').version")
echo ${NPM_VERSION}
echo "##vso[task.setvariable variable=NPM_VERSION;]${NPM_VERSION}"
displayName: 'Get package.json npm version'

- script: |
echo $(NPM_VERSION)
displayName: 'test if pipeline variable is set for other tasks'

# - script: |
# echo $(NPM_VERSION)
# docker-compose -f docker/service.yml build
Expand Down

0 comments on commit 424b70f

Please sign in to comment.