From f7797e220853435be73e322e47ffba6d07fca6c1 Mon Sep 17 00:00:00 2001 From: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com> Date: Sat, 20 Sep 2025 10:15:04 +1000 Subject: [PATCH 1/3] ci: remove old publish workflow --- .changeset/config.json | 12 +------- .github/workflows/autofix.yml | 2 +- .github/workflows/ci.yml | 57 ----------------------------------- .github/workflows/pr.yml | 8 ++--- .github/workflows/release.yml | 4 +-- 5 files changed, 8 insertions(+), 75 deletions(-) delete mode 100644 .github/workflows/ci.yml diff --git a/.changeset/config.json b/.changeset/config.json index 3811f8750..67493148e 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -8,17 +8,7 @@ "access": "public", "baseBranch": "main", "updateInternalDependencies": "patch", - "fixed": [ - [ - "@tanstack/form-core", - "@tanstack/angular-form", - "@tanstack/lit-form", - "@tanstack/react-form", - "@tanstack/solid-form", - "@tanstack/svelte-form", - "@tanstack/vue-form" - ] - ], + "fixed": [], "linked": [], "ignore": [] } diff --git a/.github/workflows/autofix.yml b/.github/workflows/autofix.yml index f800261c0..7d710ce0d 100644 --- a/.github/workflows/autofix.yml +++ b/.github/workflows/autofix.yml @@ -26,7 +26,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4.3.0 + uses: actions/checkout@v5.0.0 - name: Setup Tools uses: tanstack/config/.github/setup@main - name: Fix formatting diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml deleted file mode 100644 index d7677ce90..000000000 --- a/.github/workflows/ci.yml +++ /dev/null @@ -1,57 +0,0 @@ -name: ci - -on: - workflow_dispatch: - inputs: - tag: - description: override release tag - required: false - push: - branches: [main, alpha, beta] - -concurrency: - group: ${{ github.workflow }}-${{ github.event.number || github.ref }} - cancel-in-progress: true - -env: - NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }} - -permissions: - contents: write - id-token: write - -jobs: - test-and-publish: - name: Test & Publish - if: github.repository == 'TanStack/form' - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - name: Start Nx Agents - run: npx nx-cloud start-ci-run --distribute-on=".nx/workflows/dynamic-changesets.yaml" - - name: Setup Tools - uses: tanstack/config/.github/setup@main - - name: Run Tests - run: pnpm run test:ci --parallel=3 - - name: Stop Nx Agents - if: ${{ always() }} - run: npx nx-cloud stop-all-agents - - name: Publish - run: | - git config --global user.name 'Tanner Linsley' - git config --global user.email 'tannerlinsley@users.noreply.github.com' - npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}" - pnpm run cipublish - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - TAG: ${{ inputs.tag }} - - name: Upload coverage to Codecov - uses: codecov/codecov-action@v4 - with: - directory: packages - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index d59e223cf..34092e488 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -1,4 +1,4 @@ -name: pr +name: PR on: pull_request: @@ -23,7 +23,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5.0.0 with: fetch-depth: 0 - name: Start Nx Agents @@ -31,7 +31,7 @@ jobs: - name: Setup Tools uses: tanstack/config/.github/setup@main - name: Get base and head commits for `nx affected` - uses: nrwl/nx-set-shas@v4 + uses: nrwl/nx-set-shas@v4.3.3 with: main-branch-name: main - name: Run Checks @@ -50,7 +50,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5.0.0 with: fetch-depth: 0 - name: Setup Tools diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e386dc56e..0858f39cd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,7 +23,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4.2.2 + uses: actions/checkout@v5.0.0 with: fetch-depth: 0 - name: Setup Tools @@ -31,7 +31,7 @@ jobs: - name: Run Tests run: pnpm run test:ci - name: Run Changesets (version or publish) - uses: changesets/action@v1.4.9 + uses: changesets/action@v1.5.3 with: version: pnpm run changeset:version publish: pnpm run changeset:publish From 1312306b4792741a3361985102d8edc419258601 Mon Sep 17 00:00:00 2001 From: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com> Date: Sat, 20 Sep 2025 10:16:03 +1000 Subject: [PATCH 2/3] Add back fixed --- .changeset/config.json | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.changeset/config.json b/.changeset/config.json index 67493148e..3811f8750 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -8,7 +8,17 @@ "access": "public", "baseBranch": "main", "updateInternalDependencies": "patch", - "fixed": [], + "fixed": [ + [ + "@tanstack/form-core", + "@tanstack/angular-form", + "@tanstack/lit-form", + "@tanstack/react-form", + "@tanstack/solid-form", + "@tanstack/svelte-form", + "@tanstack/vue-form" + ] + ], "linked": [], "ignore": [] } From ce9b7c725705ce6b88b411dd871f95f006d173f2 Mon Sep 17 00:00:00 2001 From: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com> Date: Sat, 20 Sep 2025 10:17:00 +1000 Subject: [PATCH 3/3] Add PR template --- .github/pull_request_template.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .github/pull_request_template.md diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 000000000..d4c84607c --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,9 @@ +## 🎯 Changes + + + +## ✅ Checklist + +- [ ] I have followed the steps listed in the [Contributing guide](https://github.com/TanStack/form/blob/main/CONTRIBUTING.md). +- [ ] I have tested and linted this code locally. +- [ ] I have generated a [changeset](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md) for this PR, or this PR should not release a new version.