Skip to content

Commit 90e70dc

Browse files
committed
nvm
Signed-off-by: Sora Morimoto <[email protected]>
1 parent a9a5008 commit 90e70dc

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

Diff for: .envrc

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# shellcheck shell=bash
2+
NODE_VERSIONS="${HOME}/.nvm/versions/node"
3+
NODE_VERSION_PREFIX="v"
4+
use node
5+
layout node

Diff for: .github/workflows/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ jobs:
1616
- name: Set-up Node.js
1717
uses: actions/setup-node@v4
1818
with:
19-
node-version: 22
2019
check-latest: true
20+
node-version-file: .nvmrc
2121

2222
- run: corepack enable
2323

Diff for: .github/workflows/publish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ jobs:
2222
- name: Set-up Node.js
2323
uses: actions/setup-node@v4
2424
with:
25-
node-version: 22
2625
check-latest: true
26+
node-version-file: .nvmrc
2727

2828
- run: corepack enable
2929

Diff for: .nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
22

0 commit comments

Comments
 (0)