From e8378b28ea4a56198abd98cb9b3b81d8b5da56af Mon Sep 17 00:00:00 2001 From: Gabriel Rufino Date: Wed, 17 Sep 2025 19:22:46 -0300 Subject: [PATCH 1/3] chore: update default Node.js version to 24 and use setup-node v5 --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 6643bd8..af4ef93 100644 --- a/action.yml +++ b/action.yml @@ -13,14 +13,14 @@ inputs: required: false node-version: required: false - default: 20 + default: 24 sonar-token: required: false runs: using: 'composite' steps: - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v5 with: node-version: ${{ inputs.node-version }} cache: 'npm' From f7245e60c8050aebc6b8d75cc51b8679cd32e302 Mon Sep 17 00:00:00 2001 From: Gabriel Rufino Date: Tue, 7 Oct 2025 20:30:46 -0300 Subject: [PATCH 2/3] fix: checkout v5 --- .github/workflows/cd.yml | 2 +- .github/workflows/ci.yml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index deb7a21..71df0c8 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -13,5 +13,5 @@ jobs: name: Release runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - uses: softprops/action-gh-release@v2 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7ea8cf9..51ccffe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: name: Upload action runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - uses: actions/upload-artifact@v4 with: name: action @@ -24,7 +24,7 @@ jobs: needs: - upload-action steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: repository: gabrielrufino/node-template - uses: actions/download-artifact@v4 @@ -35,7 +35,7 @@ jobs: needs: - upload-action steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: repository: gabrielrufino/node-template - uses: actions/download-artifact@v4 @@ -51,7 +51,7 @@ jobs: needs: - upload-action steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: repository: gabrielrufino/node-template - uses: actions/download-artifact@v4 From 7a79d522adad3d694132a2414c3c8b0fd1848448 Mon Sep 17 00:00:00 2001 From: Gabriel Rufino Date: Tue, 7 Oct 2025 20:33:20 -0300 Subject: [PATCH 3/3] fix: pipeline --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index af4ef93..8143522 100644 --- a/action.yml +++ b/action.yml @@ -18,12 +18,12 @@ inputs: required: false runs: - using: 'composite' + using: composite steps: - uses: actions/setup-node@v5 with: node-version: ${{ inputs.node-version }} - cache: 'npm' + cache: npm - id: scripts run: | scripts=$(cat package.json | jq -c '.scripts | keys')