CI: drop EOL Node 20, test Node 24; remove long-lived NPM_TOKEN and pin npm in the publish job
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 45/100
- Issue-Typ
- Refactoring
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- github-actions, typescript
Rechercherichtung
Start with .github/workflows/ci.yml (the Node matrix near line 15) and .github/workflows/publish.yml, where npm install -g npm@latest is on line 24 and NODE_AUTH_TOKEN is on line 30. Also update engines.node in package.json, plus the Node version mentions in CONTRIBUTING and the README. Done when the matrix is only 22 and 24, engines is >=22, the publish job has no NODE_AUTH_TOKEN, npm is pinned, and actions use commit SHAs. Deleting the secret and changing the npm token setting need a maintainer with repository and npm access.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Why
- Node 20 reached end of life on 2026-04-30. CI still tests 20 and 22 (
.github/workflows/ci.yml:15),enginessays>=20.0.0, and CONTRIBUTING says "Node.js 20 or later". Node 24 is the current Active LTS and isn't tested at all, even though it's what new users will install. - Release pipeline hygiene (
.github/workflows/publish.yml):npm install -g npm@latest(line 24) pulls an unpinned npm into the job that publishes the package.- The job sets
id-token: writeand publishes with--provenance(v0.7.0 notes say trusted publishing was adopted), yet it still passesNODE_AUTH_TOKEN: secrets.NPM_TOKEN(line 30). If trusted publishing is configured, the long-lived token is unnecessary attack surface and should be revoked. - Actions are pinned by tag, not commit SHA.
None of this is exploitable today. It's standard supply-chain hardening for a package that holds users' publisher API keys at runtime.
Suggested approach
- CI matrix:
[22, 24]. Setengines.nodeto>=22. Update CONTRIBUTING and the README. - Publish: pin npm to an exact version (or use the npm bundled with Node 24). Remove
NODE_AUTH_TOKEN, delete theNPM_TOKENsecret, and confirm on npmjs.com that trusted publishing is the only publish path ("disallow tokens" setting). - Pin actions by commit SHA. Dependabot (already set up for actions) keeps the pins current.
- Optionally add a
workflow_dispatchdry-run of the publish job (npm publish --dry-run) to check releases before tagging.
Done when
CI runs on supported Node versions only, the publish job has no long-lived npm token, and every tool in the release path is pinned.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 5
- Forks
- 2
- Ø Merge
- 1 Std. 32 Min.
- Gemergte PRs (30 T.)
- 3
Entwicklungsumgebung
- Enthält ein Dockerfile oder eine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus TMHSDigital/steam-mcp
-
documentation good first issue priority: low
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
TMHSDigital/steam-mcp#95 ·
-
documentation good first issue priority: low
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 82/100
TMHSDigital/steam-mcp#94 ·
-
documentation priority: medium
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 55/100
TMHSDigital/steam-mcp#79 · 1 Kommentar ·
-
decision feature priority: medium
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 15/100
TMHSDigital/steam-mcp#60 · 1 Kommentar ·
-
decision marketing priority: low
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 12/100
TMHSDigital/steam-mcp#50 ·
Alle Issues in TMHSDigital/steam-mcp
Ähnliche Issues
-
iOS: Clear Context (/clear) and model picker fallback use negative agent check instead of isClaudeOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
Maintainer antworten meist innerhalb von 1 Tag
-
Area: API Bug Difficulty: Low Priority: Low
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
DouglasNeuroInformatics/OpenDataCapture#1937 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
Maintainer antworten meist innerhalb von 1 Tag
-
agent-canvas bug oh-gpt-fleet priority:medium ready-for-dev UI/UX
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag
-
good first issue javascript test
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
Maintainer antworten meist innerhalb von 2 Tagen