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: