From 0322024e751e6e4ec727d62e436bb6663ba8d3bd Mon Sep 17 00:00:00 2001 From: Samuel Fontebasso Date: Sun, 28 Jun 2026 15:55:15 -0300 Subject: [PATCH] ci: replace endoflife action with direct API call --- .github/workflows/nodejs-version-audit.yml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.github/workflows/nodejs-version-audit.yml b/.github/workflows/nodejs-version-audit.yml index ead055c..28f6c0f 100644 --- a/.github/workflows/nodejs-version-audit.yml +++ b/.github/workflows/nodejs-version-audit.yml @@ -17,18 +17,10 @@ jobs: runs-on: ubuntu-latest steps: - - name: Fetch Node.js end-of-life data - id: endoflife - uses: sindrel/endoflife-github-action@5f91adaabc542a346876290ff0f447c7bc355f99 - with: - product: nodejs - - name: Compare supported versions against active versions id: compare - env: - VERSIONS: ${{ steps.endoflife.outputs.versions }} run: | - active=$(echo "$VERSIONS" | jq -r --arg today "$(date +%Y-%m-%d)" \ + active=$(curl -sf https://endoflife.date/api/nodejs.json | jq -r --arg today "$(date +%Y-%m-%d)" \ '[.[] | select(.eol > $today) | .cycle] | sort_by(tonumber) | join(",")') add=$(comm -23 \