resources:
  repositories:
  - repository: OfficePipelineTemplates
    type: git
    name: 1ESPipelineTemplates/OfficePipelineTemplates
    ref: refs/tags/release
extends:
  template: /v1/Office.Unofficial.PipelineTemplate.yml@OfficePipelineTemplates
  parameters:
    pool:
      name: OE-OfficeClientApps
    sdl:
      eslint:
        configuration: required
        parser: '@typescript-eslint/parser'
        parserOptions: sourceType:module
    stages:
    - stage: stage
      jobs:
      - job: Windows_10_Latest
        steps:
        - template: /.azure-devops/install.yml@self
        - template: /.azure-devops/lint.yml@self
        - template: /.azure-devops/build.yml@self
        - template: /.azure-devops/devcerts.yml@self
        - template: /.azure-devops/edgewebview.yml@self
        - template: /.azure-devops/test.yml@self
          parameters:
            webView: "edge-chromium"
      # - job: WebView_EdgeLegacy
      #   steps:
      #   - template: /.azure-devops/install.yml@self
      #   - template: /.azure-devops/lint.yml@self
      #   - template: /.azure-devops/build.yml@self
      #   - template: /.azure-devops/devcerts.yml@self
      #   - template: /.azure-devops/edgewebview.yml@self
      #   - template: /.azure-devops/test.yml@self
      #     parameters:
      #       webView: "edge-legacy"
      # - job: WebView_IE
      #   steps:
      #   - template: /.azure-devops/install.yml@self
      #   - template: /.azure-devops/lint.yml@self
      #   - template: /.azure-devops/build.yml@self
      #   - template: /.azure-devops/devcerts.yml@self
      #   - template: /.azure-devops/edgewebview.yml@self
      #   - template: /.azure-devops/test.yml@self
      #     parameters:
      #       webView: "ie"
