ci: Actions auf node24-Majors heben (Node-20-Deprecation)
GitHub erzwingt node24 für node20-Actions (Deprecation vom 2025-09-19). Die fünf Pages-Actions auf ihren jeweils ersten node24-Major gehoben: checkout v4->v5, setup-node v4->v5, configure-pages v5->v6, upload-pages-artifact v3->v5, deploy-pages v4->v5. Der Build-`node-version: 20` (für npm ci/test/build) ist davon unberührt. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
17d354059e
commit
c2181e3252
@@ -29,7 +29,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v5
|
||||||
with:
|
with:
|
||||||
# Volle Historie: die Micro-Version wird aus der Commit-Anzahl
|
# Volle Historie: die Micro-Version wird aus der Commit-Anzahl
|
||||||
# abgeleitet (Standard wäre ein flacher Klon mit nur einem Commit).
|
# abgeleitet (Standard wäre ein flacher Klon mit nur einem Commit).
|
||||||
@@ -43,7 +43,7 @@ jobs:
|
|||||||
# hinter dem Titel automatisch in sich (app.js/mountBuildBadge, D16) — der
|
# hinter dem Titel automatisch in sich (app.js/mountBuildBadge, D16) — der
|
||||||
# Pages-Deploy ist bewusst der latest build. Nur `build:prod` ließe ihn weg.
|
# Pages-Deploy ist bewusst der latest build. Nur `build:prod` ließe ihn weg.
|
||||||
- name: Node einrichten
|
- name: Node einrichten
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v5
|
||||||
with:
|
with:
|
||||||
node-version: 20
|
node-version: 20
|
||||||
cache: npm
|
cache: npm
|
||||||
@@ -86,10 +86,10 @@ jobs:
|
|||||||
cp LICENSE site/LICENSE
|
cp LICENSE site/LICENSE
|
||||||
|
|
||||||
- name: Pages-Konfiguration
|
- name: Pages-Konfiguration
|
||||||
uses: actions/configure-pages@v5
|
uses: actions/configure-pages@v6
|
||||||
|
|
||||||
- name: Artefakt hochladen
|
- name: Artefakt hochladen
|
||||||
uses: actions/upload-pages-artifact@v3
|
uses: actions/upload-pages-artifact@v5
|
||||||
with:
|
with:
|
||||||
path: site
|
path: site
|
||||||
|
|
||||||
@@ -102,4 +102,4 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Auf GitHub Pages deployen
|
- name: Auf GitHub Pages deployen
|
||||||
id: deployment
|
id: deployment
|
||||||
uses: actions/deploy-pages@v4
|
uses: actions/deploy-pages@v5
|
||||||
|
|||||||
Reference in New Issue
Block a user