mirror of
https://github.com/tiennm99/blog.git
synced 2026-10-12 18:15:50 +00:00
refactor(projects): build the projects list on the octokit SDK
Replace hand-rolled REST paging, GraphQL cursor loops and header plumbing with octokit, which also brings request retry and rate-limit backoff. Introduces the repo's first package.json, lockfile and ESLint flat config; the Hugo site build itself still needs no Node step. Output verified against the previous implementation: identical counts and rows apart from live star drift on four upstream repos.
This commit is contained in:
1 parent
f0b6b4904d
commit
a0de52c877
8 files changed
+1742
-91
No files matched your search
@@ -29,6 +29,10 @@ jobs:
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: 24
|
||||
cache: npm
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Refresh projects list
|
||||
env:
|
||||
|
||||
Reference in new issue
Block a user