From 13d2b2c29f2bf2403bb9172a5fe1546db6f9c816 Mon Sep 17 00:00:00 2001 From: Diogenes Fernandes Date: Tue, 14 Oct 2025 09:09:13 -0300 Subject: [PATCH] Pinning into specific node version Signed-off-by: Diogenes Fernandes --- .github/workflows/continuous-integration.yml | 8 ++++---- lib/releases.js | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index ec90245..33358d8 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -1,9 +1,9 @@ -name: 'Continuous Integration' +name: "Continuous Integration" on: push: branches: - - main + - main pull_request: jobs: @@ -11,9 +11,9 @@ jobs: name: Check dist/ directory uses: actions/reusable-workflows/.github/workflows/check-dist.yml@2826fb8353263a138210fc017301ce5767a9c0d4 with: - node-version: "20.x" + node-version: "20.19.1" test: name: Test uses: actions/reusable-workflows/.github/workflows/basic-validation.yml@2826fb8353263a138210fc017301ce5767a9c0d4 with: - node-version: "20.x" + node-version: "20.19.1" diff --git a/lib/releases.js b/lib/releases.js index 5016228..77e0207 100644 --- a/lib/releases.js +++ b/lib/releases.js @@ -44,8 +44,8 @@ async function fetchReleases (githubToken) { if (resp.message.statusCode !== hc.HttpCodes.OK) { throw new Error('failed fetching releases (' + resp.message.statusCode + ')'); } - - let body = await resp.readBody(); + + const body = await resp.readBody(); const releasesMeta = JSON.parse(body); /**