Skip to content

Commit 39ee47a

Browse files
marktech0813cursoragentloopover-orb[bot]
authored
fix(ci): read Node version from .nvmrc in impact/visual workflows (#8431)
These jobs already check out the repo, so hardcoding 22.23.1 drifts from .nvmrc unlike every other setup-node workflow (#8393). Co-authored-by: marktech0813 <marktech0813@users.noreply.github.com> Co-authored-by: Cursor <cursoragent@cursor.com> Co-authored-by: loopover-orb[bot] <296761690+loopover-orb[bot]@users.noreply.github.com>
1 parent 962fa08 commit 39ee47a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/gittensor-impact.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: Setup Node
3737
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7
3838
with:
39-
node-version: 22.23.1
39+
node-version-file: .nvmrc
4040

4141
- name: Render impact card
4242
run: node --experimental-strip-types scripts/gittensor-impact-card.ts JSONbored/loopover gittensor-impact-dark.svg

.github/workflows/visual-capture-fallback.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ jobs:
9898
- name: Setup Node
9999
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7
100100
with:
101-
node-version: "22.23.1"
101+
node-version-file: .nvmrc
102102

103103
- name: Build
104104
env:

0 commit comments

Comments
 (0)