Skip to content

Commit

Permalink
nvm
Browse files Browse the repository at this point in the history
Signed-off-by: Sora Morimoto <sora@morimoto.io>
  • Loading branch information
smorimoto committed Oct 18, 2024
1 parent a9a5008 commit 90e70dc
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# shellcheck shell=bash
NODE_VERSIONS="${HOME}/.nvm/versions/node"
NODE_VERSION_PREFIX="v"
use node
layout node
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
- name: Set-up Node.js
uses: actions/setup-node@v4
with:
node-version: 22
check-latest: true
node-version-file: .nvmrc

- run: corepack enable

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ jobs:
- name: Set-up Node.js
uses: actions/setup-node@v4
with:
node-version: 22
check-latest: true
node-version-file: .nvmrc

- run: corepack enable

Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
22

0 comments on commit 90e70dc

Please sign in to comment.