Skip to content

Commit

Permalink
Merge pull request #695 from iamvishnusankar/fix/azure
Browse files Browse the repository at this point in the history
[Fix] Azure pipeline errors
  • Loading branch information
iamvishnusankar committed Aug 9, 2023
2 parents 33bafdc + cb28cc8 commit 7f8a9a8
Showing 1 changed file with 8 additions and 18 deletions.
26 changes: 8 additions & 18 deletions azure-pipeline.yml
@@ -1,9 +1,8 @@
name: 4.1$(rev:.r)
name: 4.2$(rev:.r)
trigger:
branches:
include:
- master

pool:
vmImage: 'ubuntu-latest'
demands: npm
Expand All @@ -17,7 +16,7 @@ steps:

# Set yarn version
- task: Bash@3
displayName: 'Install'
displayName: 'Set yarn version'
inputs:
targetType: 'inline'
script: 'yarn set version stable'
Expand All @@ -44,28 +43,19 @@ steps:
targetType: 'inline'
script: 'yarn install --immutable --immutable-cache'

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

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

# Test
# Build
- task: Bash@3
displayName: 'Test'
displayName: 'Build'
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 7f8a9a8

Please sign in to comment.