From ff7f8bf8fcc7c631aa0a348f04c2af3a800af48c Mon Sep 17 00:00:00 2001 From: Gabriel Rufino Date: Wed, 22 Oct 2025 19:16:35 -0300 Subject: [PATCH 1/2] refactor: update setup-node --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 8143522..17eb598 100644 --- a/action.yml +++ b/action.yml @@ -20,7 +20,7 @@ inputs: runs: using: composite steps: - - uses: actions/setup-node@v5 + - uses: actions/setup-node@v6 with: node-version: ${{ inputs.node-version }} cache: npm From 7df46cb69903f247aa31a4e72cef1a43bc0e04e2 Mon Sep 17 00:00:00 2001 From: Gabriel Rufino Date: Wed, 22 Oct 2025 19:21:30 -0300 Subject: [PATCH 2/2] feat: add execution time measurement for npm install, build, and lint steps --- action.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/action.yml b/action.yml index 17eb598..63f68ee 100644 --- a/action.yml +++ b/action.yml @@ -29,15 +29,15 @@ runs: scripts=$(cat package.json | jq -c '.scripts | keys') echo "scripts=$scripts" >> $GITHUB_OUTPUT shell: bash - - run: npm ci || npm install + - run: time (npm ci || npm install) shell: bash - id: build if: ${{ contains(steps.scripts.outputs.scripts, 'build') && !contains(inputs.except, 'build') }} - run: npm run build + run: time npm run build shell: bash - id: lint if: ${{ contains(steps.scripts.outputs.scripts, 'lint') && !contains(inputs.except, 'lint') }} - run: npm run lint + run: time npm run lint shell: bash - id: test if: ${{ contains(steps.scripts.outputs.scripts, 'test') && !contains(inputs.except, 'test') }}