CI: update-stars, clear of pnpm's own stars; packageManager pins pnpm

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ZacharyZhang-NYandClaude Opus 5.5 committed 2026-10-04 21:07:23 -04:00
1 parent 912bc328cf
commit 42fcc20460
3 files changed
+3 -7

No files matched your search

+1 -5
View File
@@ -24,8 +24,6 @@ jobs:
with:
persist-credentials: false
- uses: pnpm/action-setup@v6
with:
version: 11
- uses: actions/setup-node@v7
with:
node-version: 24
@@ -45,14 +43,12 @@ jobs:
with:
ref: main
- uses: pnpm/action-setup@v6
with:
version: 11
- uses: actions/setup-node@v7
with:
node-version: 24
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm stars
- run: pnpm run update-stars
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: pnpm validate
+1 -1
View File
@@ -59,7 +59,7 @@ Unknown fields fail validation.
## Stars
On every push to `main` and each Monday, CI asks GitHub for each GitHub source's stars and commits any change. `starsUpdatedAt` moves only when the count does. `pnpm stars` does the same locally with `GITHUB_TOKEN` set.
On every push to `main` and each Monday, CI asks GitHub for each GitHub source's stars and commits any change. `starsUpdatedAt` moves only when the count does. `pnpm run update-stars` does the same locally with `GITHUB_TOKEN` set.
## How the site uses this
+1 -1
View File
@@ -6,7 +6,7 @@
"scripts": {
"test": "node --test \"tests/*.test.mjs\"",
"validate": "node scripts/validate.mjs",
"stars": "node scripts/stars.mjs"
"update-stars": "node scripts/stars.mjs"
},
"dependencies": {
"marked": "18.0.14",