docs(skills): add domain map and skill spec artifacts #154
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Release | |
| on: | |
| push: | |
| branches: [main, alpha, beta, rc] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.number || github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }} | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| permissions: | |
| contents: write | |
| id-token: write | |
| pull-requests: read | |
| statuses: read | |
| jobs: | |
| release: | |
| name: Release | |
| if: ${{ github.repository_owner == 'TanStack' && !contains(github.event.head_commit.message, '[skip ci]') }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6.0.1 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Tools | |
| uses: tanstack/config/.github/setup@main | |
| - name: Build | |
| run: pnpm build | |
| - name: Test Unit | |
| run: pnpm test:unit | |
| - name: Install Playwright Chrome | |
| run: pnpm --filter @tanstack/cli exec playwright install --with-deps chrome | |
| - name: E2E Blocking | |
| run: pnpm --filter @tanstack/cli test:e2e | |
| - name: Generate Semantic Changeset Fallback | |
| run: pnpm run changeset:generate | |
| - name: Prepare Release Context | |
| id: release | |
| run: pnpm run release:prepare | |
| - name: Version Packages | |
| if: steps.release.outputs.has_changesets == 'true' | |
| run: pnpm run changeset:version | |
| - name: Detect Versioning Changes | |
| if: steps.release.outputs.has_changesets == 'true' | |
| id: changes | |
| run: pnpm run release:detect-changes | |
| - name: Commit Version Updates | |
| if: steps.release.outputs.has_changesets == 'true' && steps.changes.outputs.has_changes == 'true' | |
| run: pnpm run release:commit-and-push | |
| - name: Publish Packages | |
| if: steps.release.outputs.has_changesets == 'true' && steps.changes.outputs.has_changes == 'true' | |
| run: pnpm changeset publish --tag "${{ steps.release.outputs.npm_tag }}" |