Skip to content

Commit

Permalink
Add azure pipeline for connection to review environments
Browse files Browse the repository at this point in the history
  • Loading branch information
roshaanbajwa committed Jun 6, 2024
1 parent 1336182 commit 7f0c786
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
trigger:
branches:
include:
- review-*
paths:
exclude:
- CHANGELOG.md
- README.md
- CODE_OF_CONDUCT.md
- CONTRIBUTING.md

pool:
vmImage: 'ubuntu-latest'

steps:

- script: npm ci
displayName: 'Install'

- script: npm run build
displayName: 'Build'

- script: npm run lint
displayName: 'Lint'

- script: npm run test
displayName: 'Test'

- script: npm run backstop:ci
displayName: 'Backstop'

- task: ArchiveFiles@2
inputs:
rootFolderOrFile: '$(System.DefaultWorkingDirectory)'
includeRootFolder: false
displayName: 'Create file archive to publish'

- task: PublishBuildArtifacts@1
displayName: 'Publish files to Azure Pipelines'

0 comments on commit 7f0c786

Please sign in to comment.