Skip to content

Commit 55f0b77

Browse files
committed
feat: downgrade to setup-node v4
1 parent 1f70696 commit 55f0b77

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/actions/build-node-python/action.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,12 +104,11 @@ runs:
104104
if: inputs.enable_node == 'true' && inputs.node_version == ''
105105
id: get-node-version
106106
- name: Set up node version
107-
uses: actions/setup-node@v5
107+
uses: actions/setup-node@v4
108108
if: inputs.enable_node == 'true'
109109
with:
110110
node-version: ${{ inputs.node_version || fromJson(steps.get-node-version.outputs.node_version) }}
111111
registry-url: ${{ inputs.npm_registry || 'https://registry.npmjs.org/' }}
112-
package-manager-cache: false
113112
- name: Show node and npm version
114113
if: inputs.enable_node == 'true'
115114
run: |

.github/actions/get-node-version/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ runs:
1313
- name: Setup sandboxed dependencies
1414
shell: bash
1515
run: |
16-
npm init -y --prefix ${{ github.action_path }} >/dev/null 2>&1
17-
npm install semver --prefix ${{ github.action_path }} >/dev/null 2>&1
16+
npm init -y --prefix ${{ github.action_path }}
17+
npm install semver --prefix ${{ github.action_path }}
1818
1919
- name: Find version script
2020
id: get-node-version
21-
uses: actions/github-script@v7
21+
uses: actions/github-script@v8
2222
with:
2323
script: |
2424
const path = require('path');

0 commit comments

Comments
 (0)