fix: add Node.js setup for script execution

- Add actions/setup-node@v4 with Node 20
- Required to run .github/scripts/parse-metrics.mjs
- Following pattern from other workflows that use .mjs scripts
This commit is contained in:
Ralph Khreish
2025-09-22 14:52:40 +02:00
parent 604b3d6702
commit 6011fe9cf1

View File

@@ -17,6 +17,14 @@ jobs:
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_METRICS_WEBHOOK }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Get dates for last week
run: |
# Last 7 days