diff --git a/.azure-pipelines-steps.yml b/.azure-pipelines-steps.yml deleted file mode 100644 index ca30fe83d8c4..000000000000 --- a/.azure-pipelines-steps.yml +++ /dev/null @@ -1,46 +0,0 @@ -# -# Steps for building and testing Jest. See jobs defined in .azure-pipelines.yml -# - -steps: - - checkout: self - path: jest - - # Ensure Node.js 14 is active - - task: NodeTool@0 - inputs: - versionSpec: '14.x' - displayName: 'Use Node.js 14' - - # Ensure Python 2.7 is active - - task: UsePythonVersion@0 - inputs: - versionSpec: '2.7' - displayName: 'Use Python 2.7' - - - bash: echo "##vso[task.setvariable variable=folder;isOutput=true]$(yarn config get cacheFolder)" - name: yarnCache - - - task: Cache@2 - inputs: - key: yarn | $(Agent.OS) | yarn.lock - path: $(yarnCache.folder) - displayName: Cache Yarn packages - - - script: yarn install --immutable - displayName: 'Install dependencies' - - - script: yarn build:js - displayName: 'Transpile TypeScript' - - # Run test-ci-partial - - script: yarn run test-ci-partial - displayName: 'Run tests' - - # Publish CI test results - - task: PublishTestResults@2 - inputs: - testResultsFiles: '**/reports/junit/*.xml' - testRunTitle: 'CI Tests $(Agent.OS)' - displayName: 'Publish test results' - condition: succeededOrFailed() diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml deleted file mode 100644 index 2bc180d0f8cb..000000000000 --- a/.azure-pipelines.yml +++ /dev/null @@ -1,36 +0,0 @@ -# -# Azure Pipelines configuration for building and testing Jest on Linux, Windows, and macOS. -# - -jobs: - - job: Linux - pool: - vmImage: ubuntu-latest - steps: - - template: .azure-pipelines-steps.yml - - - job: Windows - pool: - vmImage: windows-latest - steps: - - script: | - git config --global core.autocrlf false - git config --global core.symlinks true - displayName: 'Preserve LF endings and symbolic links on check out' - - template: .azure-pipelines-steps.yml - - - job: macOS - pool: - vmImage: macos-latest - steps: - # This step can be removed once Mercurial gets installed on the macOS image. See https://github.com/Microsoft/azure-pipelines-image-generation/issues/604 - - script: HOMEBREW_NO_AUTO_UPDATE=1 brew install mercurial - displayName: 'Install Mercurial' - - template: .azure-pipelines-steps.yml - -variables: - # Used by chalk. Ensures output from Jest includes ANSI escape characters that are needed to match test snapshots. - FORCE_COLOR: 1 - - # Ensures the handful of tests that should be skipped during CI are - CI: true