Files
monica/.azure/job-build.yml
T
2020-03-20 08:17:59 +01:00

25 lines
600 B
YAML

jobs:
- job: build
pool:
vmImage: 'ubuntu-latest'
steps:
- template: step-prepare-environment.yml
- template: step-composer-install.yml
- template: step-cache-yarn.yml
- script: yarn inst
displayName: 'yarn install'
# Update js and css assets eventually
- script: yarn lint:all
displayName: 'Check js and vue lint'
- bash: |
source scripts/ci/fixsecrets.sh
scripts/ci/update-assets.sh
displayName: 'Update assets'
env:
ASSETS_USERNAME: $(ASSETS_USERNAME)
ASSETS_EMAIL: $(ASSETS_EMAIL)
ASSETS_GITHUB_TOKEN: $(ASSETS_GITHUB_TOKEN)