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); /**