Unverified Commit 83bea332 authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

Update fnm setup for CI (#55765)

We can use the cached version if available and only install if it's missing. 

x-ref: https://github.com/vercel/next.js/actions/runs/6267098663/job/17019478099?pr=55764
parent 9dfa2db6
......@@ -85,8 +85,7 @@ jobs:
- 'metal'
steps:
- run: fnm install ${{ inputs.nodeVersion || env.NODE_LTS_VERSION }}
- run: fnm use ${{ inputs.nodeVersion || env.NODE_LTS_VERSION }}
- run: fnm use --install-if-missing ${{ inputs.nodeVersion || env.NODE_LTS_VERSION }}
- run: node -v
- run: corepack enable
- run: pwd
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment