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 1 commit
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
Next Next commit
add github workflow
  • Loading branch information
TristanWatanabe committed Feb 26, 2025
commit 73dd5a78c8dd435bbca50e28742aa9c76e178c14
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: macos-14-xlarge
permissions:
contents: 'read'
actions: 'read'

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

- uses: actions/setup-node@v4
with:
node-version: '14.x'

- 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