Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
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
4 changes: 4 additions & 0 deletions eng/pipelines/templates/stages/archetype-spec-gen-sdk.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
parameters:
- name: SpecRepoUrl
type: string
Expand Down Expand Up @@ -246,6 +246,10 @@
cd $(SpecRepoDirectory)
echo "##[group]Run npm ci"
npm ci
if [ "$?" -ne 0 ]; then
echo "##vso[task.logissue type=error]npm ci failed."
exit 1
fi
echo "##[endgroup]"
node $(SpecRepoDirectory)/eng/tools/spec-gen-sdk-runner/cmd/spec-gen-sdk-runner.js \
--scp $(SpecRepoDirectory) \
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "azure-rest-api-specs",
"devDependencies": {
"@azure-tools/spec-gen-sdk": "~0.9.1",
"@azure-tools/spec-gen-sdk1": "~0.9.1",
"@azure-tools/specs-shared": "file:.github/shared",
"@azure-tools/typespec-apiview": "0.7.2",
"@azure-tools/typespec-autorest": "0.63.0",
Expand Down
Loading