From e9cbea3709fc5714dfad6ed26d31177978c824e1 Mon Sep 17 00:00:00 2001 From: Jon Thysell Date: Thu, 12 Dec 2024 16:46:15 -0800 Subject: [PATCH] Add ADO Production CI --- .ado/ci.yml | 26 ++++++++++++++++++++++++++ CodeQL.yml | 7 +++++++ 2 files changed, 33 insertions(+) create mode 100644 .ado/ci.yml create mode 100644 CodeQL.yml diff --git a/.ado/ci.yml b/.ado/ci.yml new file mode 100644 index 000000000..809b8754f --- /dev/null +++ b/.ado/ci.yml @@ -0,0 +1,26 @@ +name: RNW Samples Production CI $(Date:yyyyMMdd).$(Rev:r) + +trigger: none +pr: none + +variables: + - name: Codeql.Enabled + value: true + - name: Codeql.Cadence + value: 120 # In hours, default to only run every 5 days + +pool: + name: rnw-pool-4 + demands: ImageOverride -equals rnw-img-vs2022-node18 + +steps: + - checkout: self + clean: false + + - script: yarn install --frozen-lockfile + displayName: Yarn Install (Website) + workingDirectory: ./website + + - script: yarn build + displayName: Yarn Build (Website) + workingDirectory: ./website diff --git a/CodeQL.yml b/CodeQL.yml new file mode 100644 index 000000000..7ccdbed50 --- /dev/null +++ b/CodeQL.yml @@ -0,0 +1,7 @@ +# This file is used to configure CodeQL alerts. +# See https://eng.ms/docs/cloud-ai-platform/devdiv/one-engineering-system-1es/1es-docs/codeql/configuring-codeql3000-ado-pipelines#excluding-external-libraries-test-files-generated-files-docs + +path_classifiers: + docs: + - "**/docs" + - "**/website/versioned_docs"