diff --git a/nodejs/action.yaml b/nodejs/action.yaml index b5078dd..9631ec3 100644 --- a/nodejs/action.yaml +++ b/nodejs/action.yaml @@ -25,14 +25,14 @@ runs: fetch-depth: 0 - name: Use Node.js - ${{ inputs.NODE_VERSION }} if: ${{ inputs.NODE_VERSION != '0' }} - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: node-version: ${{ inputs.NODE_VERSION }} env: NPM_TOKEN: ${{ inputs.NPM_REGISTRY_TOKEN }} - name: Use Node.js Own version if: ${{ inputs.NODE_VERSION == '0' }} - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: node-version-file: '.nvmrc' cache: ${{ inputs.NODE_CACHE }}