Skip to content

Commit 89ceb06

Browse files
committed
fix azure pipeline syntax
1 parent 1182ecc commit 89ceb06

1 file changed

Lines changed: 11 additions & 10 deletions

File tree

.ado/publish.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ extends:
4242

4343
stages:
4444
- stage: main
45+
displayName:
4546
jobs:
4647
- job: build
4748
displayName: Build and test
@@ -64,8 +65,8 @@ extends:
6465
steps:
6566
- checkout: self
6667

67-
- displayName: Install Node.js ${{ variables.nodeVersion }}
68-
task: UseNode@1
68+
- task: UseNode@1
69+
displayName: Install Node.js ${{ variables.nodeVersion }}
6970
retryCountOnTaskFailure: 1
7071
inputs:
7172
# 👉 NOTE:
@@ -82,16 +83,16 @@ extends:
8283
# https://www.gnu.org/software/bash/manual/html_node/The-Set-Builtin.html
8384
# The options below include ADO defaults (braceexpand:hashall:interactive-comments) plus
8485
# errexit:errtrace for better error behavior.
85-
- displayName: Force exit on error (bash)
86-
script: |
86+
- script: |
8787
echo "##vso[task.setvariable variable=shellopts]braceexpand:hashall:interactive-comments:errexit:errtrace"
88+
displayName: Force exit on error (bash)
8889
89-
- displayName: Show environment
90-
script: |
90+
- script: |
9191
echo "node: `node -v`"
9292
echo "yarn: `yarn -v`"
9393
echo "npm: `npm -v`"
9494
printenv | sort
95+
displayName: Show environment
9596
9697
- script: yarn --frozen-lockfile
9798

@@ -101,10 +102,10 @@ extends:
101102
- script: yarn test:e2e
102103

103104
# TODO: figure out if this should bump or not (currently does bump)
104-
- displayName: 'Pack packages'
105-
script: |
105+
- script: |
106106
yarn beachball publish -y --no-push --pack-to-path '$(Build.StagingDirectory)/pkg'
107+
displayName: 'Pack packages'
107108
108-
- displayName: Show all files in pack directory
109-
script: |
109+
- script: |
110110
ls -R '$(Build.StagingDirectory)/pkg'
111+
displayName: Show all files in pack directory

0 commit comments

Comments
 (0)