Skip to content

Commit 4422780

Browse files
Remove NPM_TOKEN
1 parent 37f3f21 commit 4422780

File tree

6 files changed

+11
-47
lines changed

6 files changed

+11
-47
lines changed

.github/workflows/autofix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
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

.github/workflows/claude.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
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

.github/workflows/docs-sync.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
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

.github/workflows/e2e-tests.yml

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff 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+
uses: actions/[email protected]
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: |

.github/workflows/pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
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
@@ -39,7 +39,7 @@ jobs:
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

.github/workflows/release.yml

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
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
@@ -40,33 +40,6 @@ jobs:
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

0 commit comments

Comments
 (0)