Skip to content

Commit

Permalink
Removing npm clean step from build samples and run step before pack (A…
Browse files Browse the repository at this point in the history
  • Loading branch information
KarishmaGhiya authored and ljian3377 committed Jan 22, 2021
1 parent f3f15e4 commit c2655f2
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions eng/pipelines/templates/steps/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ steps:
- script: |
node eng/tools/rush-runner.js build "${{parameters.ServiceDirectory}}" --verbose -p max --TransitiveDep
displayName: "Build libraries"
- script: |
node eng/tools/rush-runner.js build:samples "${{parameters.ServiceDirectory}}" --verbose
displayName: "Build samples"
- pwsh: |
eng/tools/check-api-warning.ps1
Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/storage-blob-changefeed/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit",
"build:es6": "tsc -p tsconfig.json",
"build:nodebrowser": "rollup -c 2>&1",
"build:samples": "npm run clean && cross-env ONLY_NODE=true npm run build && npm run build:prep-samples",
"build:samples": "cross-env ONLY_NODE=true npm run build && npm run build:prep-samples",
"build:prep-samples": "dev-tool samples prep && cd dist-samples && tsc",
"build:test": "npm run build:es6 && rollup -c rollup.test.config.js 2>&1",
"build:types": "downlevel-dts typings/latest typings/3.1",
Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/storage-blob/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"build:autorest": "autorest ./swagger/README.md --typescript --package-version=12.4.0 [email protected]/[email protected]",
"build:es6": "tsc -p tsconfig.json",
"build:nodebrowser": "rollup -c 2>&1",
"build:samples": "npm run clean && cross-env ONLY_NODE=true npm run build && npm run build:prep-samples",
"build:samples": "cross-env ONLY_NODE=true npm run build && npm run build:prep-samples",
"build:prep-samples": "dev-tool samples prep && cd dist-samples && tsc",
"build:test": "npm run build:es6 && rollup -c rollup.test.config.js 2>&1",
"build:types": "downlevel-dts typings/latest typings/3.1",
Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/storage-file-datalake/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"build:autorest": "autorest ./swagger/README.md --typescript [email protected]/[email protected]",
"build:es6": "tsc -p tsconfig.json",
"build:nodebrowser": "rollup -c 2>&1",
"build:samples": "npm run clean && cross-env ONLY_NODE=true npm run build && npm run build:prep-samples",
"build:samples": "cross-env ONLY_NODE=true npm run build && npm run build:prep-samples",
"build:prep-samples": "dev-tool samples prep && cd dist-samples && tsc",
"build:test": "npm run build:es6 && rollup -c rollup.test.config.js 2>&1",
"build:types": "downlevel-dts typings/latest typings/3.1",
Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/storage-file-share/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"build:autorest": "autorest ./swagger/README.md --typescript --package-version=12.4.0 [email protected]/[email protected]",
"build:es6": "tsc -p tsconfig.json",
"build:nodebrowser": "rollup -c 2>&1",
"build:samples": "npm run clean && cross-env ONLY_NODE=true npm run build && npm run build:prep-samples",
"build:samples": "cross-env ONLY_NODE=true npm run build && npm run build:prep-samples",
"build:prep-samples": "dev-tool samples prep && cd dist-samples && tsc",
"build:test": "npm run build:es6 && rollup -c rollup.test.config.js 2>&1",
"build:types": "downlevel-dts typings/latest typings/3.1",
Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/storage-queue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"build:autorest": "autorest ./swagger/README.md --typescript --package-version=12.3.0 [email protected]/[email protected]",
"build:es6": "tsc -p tsconfig.json",
"build:nodebrowser": "rollup -c 2>&1",
"build:samples": "npm run clean && cross-env ONLY_NODE=true npm run build && npm run build:prep-samples",
"build:samples": "cross-env ONLY_NODE=true npm run build && npm run build:prep-samples",
"build:prep-samples": "dev-tool samples prep && cd dist-samples && tsc",
"build:test": "npm run build:es6 && rollup -c rollup.test.config.js 2>&1",
"build:types": "downlevel-dts typings/latest typings/3.1",
Expand Down

0 comments on commit c2655f2

Please sign in to comment.