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:
1 parent
912bc328cf
commit
42fcc20460
3 files changed
+3
-7
No files matched your search
@@ -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
|
||||
|
||||
@@ -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
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user