Skip to content

Commit

Permalink
Npm@1 (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
ganeshg2491 authored Aug 9, 2024
1 parent 51e6862 commit b0db429
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.24
1.0.25
10 changes: 5 additions & 5 deletions templates/steps/nodejs-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ steps:
echo "##vso[task.setvariable variable=COOKIE_PASSWORD;]$RANDOM"
displayName: 'Generate Random COOKIE_PASSWORD for test'

- task: Npm@1.238.1
- task: Npm@1
displayName: 'npm ci'
inputs:
command: custom
Expand All @@ -33,30 +33,30 @@ steps:
customRegistry: useFeed
customFeed: ${{ parameters.packageFeedName }}

- task: Npm@1.238.1
- task: Npm@1
displayName: 'npm audit'
inputs:
command: custom
verbose: false
customCommand: 'audit -audit-level=${{ parameters.failOnThreshold }} '
continueOnError: ${{ ne(variables['Build.Reason'], 'PullRequest') }}

- task: Npm@1.238.1
- task: Npm@1
displayName: 'npm lint'
inputs:
command: custom
verbose: false
customCommand: 'run --if-present test:lint'
continueOnError: ${{ ne(variables['Build.Reason'], 'PullRequest') }}

- task: Npm@1.238.1
- task: Npm@1
displayName: 'npm build'
inputs:
command: custom
verbose: false
customCommand: 'run --if-present build'

- task: Npm@1.238.1
- task: Npm@1
displayName: 'npm unit test'
inputs:
command: custom
Expand Down

0 comments on commit b0db429

Please sign in to comment.