From 8fdb66056a0d7796f838718d565e00dade1457ce Mon Sep 17 00:00:00 2001 From: Corbin Crutchley Date: Thu, 14 May 2026 02:04:27 -0400 Subject: [PATCH] chore: help ci between main and pr --- .github/workflows/main.yml | 27 +++++++++++++++++++++++++++ .github/workflows/pr.yml | 4 +--- 2 files changed, 28 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..c28f98b --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,27 @@ +name: Tests + +on: + push: + branches: [main, alpha, beta, rc] + +concurrency: + group: ${{ github.workflow }}-${{ github.event.number || github.ref }} + cancel-in-progress: true + +permissions: + contents: read + +jobs: + test: + name: Test + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + fetch-depth: 0 + persist-credentials: false + - name: Setup Tools + uses: ./.github/actions/setup-tools + - name: Run Checks + run: pnpm run test:pr --parallel=3 diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index f41085a..d67155a 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -1,8 +1,6 @@ -name: Tests +name: PR on: - push: - branches: [main, alpha, beta, rc] pull_request: concurrency: -- 2.51.2