From 9cd1fd03727d2aae101bcc59053ff580cf636a50 Mon Sep 17 00:00:00 2001 From: Jane Chu <7559015+janechu@users.noreply.github.com> Date: Wed, 4 Dec 2024 07:53:32 -0800 Subject: [PATCH] Remove obsolete additional pipeline and workflow runs (#7043) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit # Pull Request ## 📖 Description This change removes the additional test runs in the azure pipeline and removes the obsolete CodeQL github workflow as this is part of the azure pipeline. ## ✅ Checklist ### General - [ ] I have included a change request file using `$ npm run change` - [ ] I have added tests for my changes. - [x] I have tested my changes. - [ ] I have updated the project documentation to reflect my changes. - [x] I have read the [CONTRIBUTING](https://github.com/microsoft/fast/blob/master/CONTRIBUTING.md) documentation and followed the [standards](https://github.com/microsoft/fast/blob/master/CODE_OF_CONDUCT.md#our-standards) for this project. --- .github/workflows/ci-validate-codeql.yml | 65 ------------------------ azure-pipelines-ci.yml | 23 +-------- 2 files changed, 1 insertion(+), 87 deletions(-) delete mode 100644 .github/workflows/ci-validate-codeql.yml diff --git a/.github/workflows/ci-validate-codeql.yml b/.github/workflows/ci-validate-codeql.yml deleted file mode 100644 index e815e6e13e7..00000000000 --- a/.github/workflows/ci-validate-codeql.yml +++ /dev/null @@ -1,65 +0,0 @@ -name: Validate CodeQL - -on: - workflow_dispatch: - push: - branches: - - master - - pull_request: - branches: - - master - - schedule: - - cron: 0 7 * * 3 - -permissions: - security-events: write - -jobs: - cross-platform_cross-browser: - runs-on: ${{ matrix.os }} - - strategy: - fail-fast: true - matrix: - os: [ubuntu-latest] - - env: - PLAYWRIGHT_BROWSERS_PATH: 0 - - steps: - - name: Set git to use LF - if: ${{ matrix.os == 'windows-latest' }} - run: | - git config --global core.autocrlf false - git config --global core.eol lf - - - name: Checkout Branch - uses: actions/checkout@v2 - - - if: ${{ github.event_name == 'pull_request' }} - run: | - git fetch --no-tags --prune --depth=1 origin +refs/heads/master:refs/remotes/origin/master - - - name: Cache multiple paths - uses: actions/cache@v2 - env: - cache-name: cache-node-modules - with: - path: ~/.npm - key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-build-${{ env.cache-name }}- - ${{ runner.os }}-build- - ${{ runner.os }}- - - - name: Initialize CodeQL - uses: github/codeql-action/init@v3 - with: - languages: javascript-typescript - - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v3 - with: - category: "/language:javascript-typescript" diff --git a/azure-pipelines-ci.yml b/azure-pipelines-ci.yml index 5bd732a3d15..bcf48d66b22 100644 --- a/azure-pipelines-ci.yml +++ b/azure-pipelines-ci.yml @@ -1,4 +1,4 @@ -trigger: +pr: - master # The `resources` specify the location and version of the 1ES PT. @@ -25,9 +25,6 @@ extends: name: OneESPool # Name of your hosted pool image: HostedPoolWindowsImage # Name of the image in your pool. If not specified, first image of the pool is used os: windows # OS of the image. Allowed values: windows, linux, macOS - containers: - playwright_container: - image: mcr.microsoft.com/playwright:v1.49.0-noble stages: - stage: Stage jobs: @@ -40,8 +37,6 @@ extends: targetPath: $(System.ArtifactsDirectory) artifactName: drop - container: playwright_container - variables: npm_config_cache: $(Pipeline.Workspace)/.npm @@ -66,22 +61,6 @@ extends: npm ci displayName: "Install package dependencies" - - script: | - npm run checkchange - displayName: "Check for the presence of changed files inside ./change" - - - script: | - npm run format:check - displayName: "Test Prettier format" - - script: | npm run build displayName: "Build workspaces" - - - script: | - npm run test - displayName: "Testing unit tests" - - - script: | - npm run test:validation - displayName: "Testing final validation"