From c0c1f04c4c1cec3ccc022b924caca4d5ae417db6 Mon Sep 17 00:00:00 2001 From: JJ Kasper Date: Mon, 13 Jan 2025 22:38:54 -0800 Subject: [PATCH] fix --- .github/workflows/build_reusable.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build_reusable.yml b/.github/workflows/build_reusable.yml index b1da807639da4..00ab4078627cb 100644 --- a/.github/workflows/build_reusable.yml +++ b/.github/workflows/build_reusable.yml @@ -112,12 +112,8 @@ jobs: script: | core.setOutput('input_step_key', '${{ inputs.stepName }}'.toLowerCase().replaceAll(/[/.]/g, '-').trim('-')); - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: ${{ inputs.nodeVersion || env.NODE_LTS_VERSION }} - check-latest: true - + - run: fnm use --install-if-missing ${{ inputs.nodeVersion || env.NODE_LTS_VERSION }} + - run: fnm default ${{ inputs.nodeVersion || env.NODE_LTS_VERSION }} - run: node -v - run: corepack enable - run: pwd