mirror of
https://github.com/Instadapp/trustwallet-assets.git
synced 2024-07-29 22:37:31 +00:00
Set up CI with Azure Pipelines
[skip ci]
This commit is contained in:
parent
5b7b5c0e7d
commit
6180251ea1
25
azure-pipelines.yml
Normal file
25
azure-pipelines.yml
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
trigger:
|
||||||
|
- master
|
||||||
|
|
||||||
|
pool:
|
||||||
|
vmImage: 'ubuntu-latest'
|
||||||
|
|
||||||
|
variables:
|
||||||
|
npm_config_cache: '$(Pipeline.Workspace)/.npm'
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- task: NodeTool@0
|
||||||
|
inputs:
|
||||||
|
versionSpec: '12.x'
|
||||||
|
displayName: Install Node.js
|
||||||
|
|
||||||
|
- script: npm install
|
||||||
|
displayName: Install project dependencies
|
||||||
|
|
||||||
|
- task: Cache@2
|
||||||
|
inputs:
|
||||||
|
key: 'npm | "$(Agent.OS)" | package-lock.json'
|
||||||
|
path: $(npm_config_cache)
|
||||||
|
displayName: Cache npm
|
||||||
|
|
||||||
|
- script: npm t
|
Loading…
Reference in New Issue
Block a user