Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(7.0): convert PR CI check to github workflow #33911

Open
wants to merge 5 commits into
base: 7.0
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 0 additions & 22 deletions .devops/templates/build-test-lint.yml

This file was deleted.

37 changes: 0 additions & 37 deletions .devops/templates/deploy.yml

This file was deleted.

44 changes: 44 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: CI
on:
push:
branches:
- 7.0
pull_request:

concurrency:
# see https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#example-only-cancel-in-progress-jobs-or-runs-for-the-current-workflow
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
main:
if: ${{ github.repository_owner == 'microsoft' }}
runs-on: ubuntu-latest
permissions:
contents: 'read'
actions: 'read'

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: actions/setup-node@v4
with:
node-version: '14.18.1'

- name: yarn install
run: |
bash ${GITHUB_WORKSPACE}/yarn-ci.sh

- name: check change
run: |
yarn checkchange

- name: prelint (satisfied, syncpack, lint-files)
run: |
yarn prelint

- name: build, test, lint
run: |
yarn buildci --no-cache
60 changes: 0 additions & 60 deletions azure-pipelines-ci.yml

This file was deleted.

29 changes: 0 additions & 29 deletions azure-pipelines-pr.yml

This file was deleted.

Loading
Oops, something went wrong.