File tree Expand file tree Collapse file tree 6 files changed +11
-47
lines changed
Expand file tree Collapse file tree 6 files changed +11
-47
lines changed Original file line number Diff line number Diff line change 1818 runs-on : ubuntu-latest
1919 steps :
2020 - name : Checkout
21- uses : actions/checkout@v5 .0.1
21+ uses : actions/checkout@v6 .0.1
2222 with :
2323 fetch-depth : 0
2424 - name : Setup Tools
Original file line number Diff line number Diff line change 1818 actions : read # Required for Claude to read CI results on PRs
1919 steps :
2020 - name : Checkout code
21- uses : actions/checkout@v4
21+ uses : actions/checkout@v6.0.1
2222 with :
2323 fetch-depth : 0 # required for Claude Code
2424 - uses : anthropics/claude-code-action@v1
Original file line number Diff line number Diff line change 1818 runs-on : ubuntu-latest
1919 steps :
2020 - name : Checkout
21- uses : actions/checkout@v5 .0.1
21+ uses : actions/checkout@v6 .0.1
2222 with :
2323 fetch-depth : 0
2424
Original file line number Diff line number Diff line change @@ -12,22 +12,13 @@ jobs:
1212 timeout-minutes : 10
1313
1414 steps :
15- - name : Checkout code
16- uses : actions/checkout@v4
17-
18- - name : Setup pnpm
19- uses : pnpm/action-setup@v4
20- with :
21- version : 10.24.0
22-
23- - name : Setup Node.js
24- uses : actions/setup-node@v4
15+ - name : Checkout
16+ 2517 with :
26- node-version : ' 20'
27- cache : ' pnpm'
18+ fetch-depth : 0
2819
29- - name : Install dependencies
30- run : pnpm install --frozen-lockfile
20+ - name : Setup Tools
21+ uses : tanstack/config/.github/setup@main
3122
3223 - name : Start Docker services
3324 run : |
Original file line number Diff line number Diff line change 2323 runs-on : ubuntu-latest
2424 steps :
2525 - name : Checkout
26- uses : actions/checkout@v5 .0.1
26+ uses : actions/checkout@v6 .0.1
2727 with :
2828 fetch-depth : 0
2929 - name : Setup Tools
3939 runs-on : ubuntu-latest
4040 steps :
4141 - name : Checkout
42- uses : actions/checkout@v5 .0.1
42+ uses : actions/checkout@v6 .0.1
4343 with :
4444 fetch-depth : 0
4545 - name : Setup Tools
Original file line number Diff line number Diff line change 2323 runs-on : ubuntu-latest
2424 steps :
2525 - name : Checkout
26- uses : actions/checkout@v5 .0.1
26+ uses : actions/checkout@v6 .0.1
2727 with :
2828 fetch-depth : 0
2929 - name : Setup Tools
4040 title : ' ci: Version Packages'
4141 env :
4242 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
43- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
44- - name : Generate Docs
45- if : steps.changesets.outputs.published == 'true'
46- run : pnpm generate-docs
47- - name : Commit Generated Docs
48- if : steps.changesets.outputs.published == 'true'
49- run : |
50- if [ -n "$(git status --porcelain)" ]; then
51- git config user.name "github-actions[bot]"
52- git config user.email "github-actions[bot]@users.noreply.github.com"
53-
54- BRANCH="docs/auto-update-$(date +%s)"
55- git checkout -b "$BRANCH"
56- git add docs/
57- git commit -m "docs: regenerate API documentation"
58- git push origin "$BRANCH"
59-
60- gh pr create \
61- --title "docs: regenerate API documentation" \
62- --body "Automated documentation update from release" \
63- --base main \
64- --head "$BRANCH"
65- else
66- echo "No changes in generated docs"
67- fi
68- env :
69- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
7043 - name : Comment on PRs about release
7144 if : steps.changesets.outputs.published == 'true'
7245 uses : tanstack/config/.github/comment-on-release@main
You can’t perform that action at this time.
0 commit comments