Skip to content

Commit 180e1c9

Browse files
committed
.nvmrc
1 parent 9271c2e commit 180e1c9

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
- run: corepack enable
6262
- uses: actions/setup-node@v4
6363
with:
64-
node-version-file: '.node-version'
64+
node-version-file: '.nvmrc'
6565
cache: 'yarn'
6666
- run: yarn install
6767
- run: yarn build
File renamed without changes.

README.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -802,8 +802,23 @@ https://pmndrs.github.io/drei
802802

803803
### INSTALL
804804

805+
Pre-requisites:
806+
807+
- Install [nvm](https://github.com/nvm-sh/nvm), then:
808+
```sh
809+
$ nvm install
810+
$ nvm use
811+
$ node -v # make sure your version satisfies package.json#engines.node
812+
```
813+
nb: if you want this node version to be your default nvm's one: `nvm alias default node`
814+
- Install yarn, with:
815+
```sh
816+
$ corepack enable
817+
$ corepack prepare --activate # it reads "packageManager"
818+
$ yarn -v # make sure your version satisfies package.json#engines.yarn
819+
```
820+
805821
```sh
806-
$ corepack enable
807822
$ yarn install
808823
```
809824

0 commit comments

Comments
 (0)