Skip to content

Commit 2e5dcf3

Browse files
committed
fix: remove Node.js dependency causing workflow hangs
1 parent 2672b2f commit 2e5dcf3

2 files changed

Lines changed: 3 additions & 53 deletions

File tree

.github/workflows/docs-deploy.yml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ env:
4646
jobs:
4747
# Pre-deployment validation job
4848
validate:
49-
name: 🔍 Pre-deployment Validation
49+
name: Pre-deployment Validation
5050
runs-on: ubuntu-latest
5151
outputs:
5252
should-deploy: ${{ steps.validation.outputs.should-deploy }}
@@ -108,7 +108,7 @@ jobs:
108108
109109
# Main deployment job
110110
deploy-docs:
111-
name: 🚀 Build and Deploy
111+
name: Build and Deploy
112112
needs: validate
113113
if: needs.validate.outputs.should-deploy == 'true'
114114
environment:
@@ -151,14 +151,6 @@ jobs:
151151
- name: Ensure dependencies are installed
152152
run: poetry install --no-interaction --with docs
153153

154-
- name: Setup Node.js (for potential JS dependencies)
155-
uses: actions/setup-node@v4
156-
with:
157-
node-version: '20'
158-
cache: 'npm'
159-
cache-dependency-path: |
160-
docs/package-lock.json
161-
162154
- name: Build MkDocs site
163155
run: |
164156
echo "🏗️ Building MkDocs site..."
@@ -210,7 +202,7 @@ jobs:
210202
211203
# Post-deployment validation
212204
post-deploy-check:
213-
name: 🧪 Post-deployment Check
205+
name: Post-deployment Check
214206
needs: deploy-docs
215207
runs-on: ubuntu-latest
216208
if: always() && needs.deploy-docs.result == 'success'

.github/workflows/docs-test.yml

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -159,45 +159,3 @@ jobs:
159159
site/
160160
docs_test_report.md
161161
retention-days: 7
162-
163-
# Link checking job (separate for better performance)
164-
link-check:
165-
name: 🔗 Check External Links
166-
runs-on: ubuntu-latest
167-
if: github.event_name == 'pull_request'
168-
169-
steps:
170-
- name: Checkout repository
171-
uses: actions/checkout@v4
172-
173-
- name: Setup Node.js
174-
uses: actions/setup-node@v4
175-
with:
176-
node-version: '20'
177-
178-
- name: Install markdown-link-check
179-
run: npm install -g markdown-link-check
180-
181-
- name: Check external links
182-
run: |
183-
echo "🔗 Checking external links in documentation..."
184-
185-
# Configure link checking
186-
cat > .markdown-link-check.json << 'EOF'
187-
{
188-
"ignorePatterns": [
189-
{
190-
"pattern": "^http://localhost"
191-
},
192-
{
193-
"pattern": "^http://127.0.0.1"
194-
}
195-
],
196-
"timeout": "10s",
197-
"retryCount": 2,
198-
"retryOn429": true
199-
}
200-
EOF
201-
202-
# Check all markdown files
203-
find docs -name "*.md" -print0 | xargs -0 -I {} markdown-link-check {} --config .markdown-link-check.json

0 commit comments

Comments
 (0)