diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 860062e7..953ee60b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 diff --git a/.nvmrc b/.nvmrc index 209e3ef4..a45fd52c 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -20 +24 diff --git a/action.yml b/action.yml index d5952d44..b24a48dd 100644 --- a/action.yml +++ b/action.yml @@ -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: