mirror of
https://github.com/Instadapp/trustwallet-assets.git
synced 2024-07-29 22:37:31 +00:00
Update azure-pipelines.yml for Azure Pipelines
This commit is contained in:
parent
b00ad76f97
commit
5c56f3fb2f
|
@ -13,35 +13,13 @@ steps:
|
||||||
versionSpec: '12.x'
|
versionSpec: '12.x'
|
||||||
displayName: Install Node.js
|
displayName: Install Node.js
|
||||||
|
|
||||||
|
- script: npm install
|
||||||
|
displayName: Install project dependencies
|
||||||
|
|
||||||
- task: Cache@2
|
- task: Cache@2
|
||||||
inputs:
|
inputs:
|
||||||
key: 'npm | "$(Agent.OS)" | package-lock.json'
|
key: 'npm | "$(Agent.OS)" | package-lock.json'
|
||||||
restoreKeys: |
|
|
||||||
npm | "$(Agent.OS)"
|
|
||||||
npm
|
|
||||||
path: $(npm_config_cache)
|
path: $(npm_config_cache)
|
||||||
cacheHitVar: NPM_CACHE_RESTORED
|
|
||||||
continueOnError: true
|
|
||||||
enabled: false
|
|
||||||
displayName: Cache npm
|
displayName: Cache npm
|
||||||
|
|
||||||
- task: Npm@1
|
|
||||||
inputs:
|
|
||||||
command: 'install'
|
|
||||||
condition: ne(variables.NPM_CACHE_RESTORED, 'true')
|
|
||||||
displayName: Install npm dependencies
|
|
||||||
|
|
||||||
- script: |
|
|
||||||
git config --global user.email "bot@trustwallet.com"
|
|
||||||
git config --global user.name "TrustWalletBot"
|
|
||||||
- checkout: self
|
|
||||||
persistCredentials: true
|
|
||||||
|
|
||||||
- script: npm run checksum-erc20
|
|
||||||
|
|
||||||
- task: ShellScript@2
|
|
||||||
inputs:
|
|
||||||
scriptPath: './script/commit.sh'
|
|
||||||
failOnStandardError: true
|
|
||||||
|
|
||||||
- script: npm t
|
- script: npm t
|
Loading…
Reference in New Issue
Block a user