upgrade: to node24 (#2662)

This commit is contained in:
Tonye Jack
2025-09-13 07:41:48 -06:00
committed by GitHub
parent 9a6755550a
commit 24d32ffd49
3 changed files with 10 additions and 10 deletions

View File

@@ -44,11 +44,11 @@ jobs:
fetch-depth: 0
repository: ${{ github.event.pull_request.head.repo.full_name }}
- name: Use Node.js 20.x
- name: Use Node.js 24.x
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
with:
cache: 'yarn'
node-version: '20.x'
node-version: '24.x'
- name: Create coverage directory and clover.xml
run: |
@@ -72,6 +72,12 @@ jobs:
env:
GITHUB_EVENT_PULL_REQUEST_HEAD_REPO_FORK: ${{ github.event.pull_request.head.repo.fork }}
- name: Upload build assets
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: build-assets
path: dist
- name: Verify Changed files
uses: tj-actions/verify-changed-files@a1c6acee9df209257a246f2cc6ae8cb6581c1edf # v20.0.4
if: github.actor != 'dependabot[bot]'
@@ -87,12 +93,6 @@ jobs:
echo "Uncommitted build/lint changes detected. Please run 'yarn all' locally and push the changes for review."
exit 1
- name: Upload build assets
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: build-assets
path: dist
- name: Run codacy-coverage-reporter
uses: codacy/codacy-coverage-reporter-action@89d6c85cfafaec52c72b6c5e8b2878d33104c699 # v1.3.0
continue-on-error: true

2
.nvmrc
View File

@@ -1 +1 @@
20
24

View File

@@ -326,7 +326,7 @@ outputs:
description: "Returns all changed YAML keys when the `files_yaml` input is used. i.e. key that contains any path that has either been added, copied, modified, and renamed (ACMR)"
runs:
using: 'node20'
using: 'node24'
main: 'dist/index.js'
branding: