Skip to content

Commit

Permalink
Simplify azure scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
iamvishnusankar committed Aug 9, 2023
1 parent 33bafdc commit 6439f5f
Showing 1 changed file with 2 additions and 17 deletions.
19 changes: 2 additions & 17 deletions azure-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ trigger:
branches:
include:
- master
- fix/azure

pool:
vmImage: 'ubuntu-latest'
Expand Down Expand Up @@ -49,23 +50,7 @@ steps:
displayName: 'Build'
inputs:
targetType: 'inline'
script: 'yarn build'
# failOnStderr: true

# Lint
- task: Bash@3
displayName: 'Lint'
inputs:
targetType: 'inline'
script: 'yarn lint'
failOnStderr: true

# Test
- task: Bash@3
displayName: 'Test'
inputs:
targetType: 'inline'
script: 'yarn test --ci'
script: 'yarn workspace next-sitemap build && yarn workspace next-sitemap postbuild'

# Copy README
- task: Bash@3
Expand Down

0 comments on commit 6439f5f

Please sign in to comment.