Skip to content

Commit 6850ff6

Browse files
authored
Merge pull request #882 from ocaml/nvm
nvm
2 parents 5dcf82c + c843c69 commit 6850ff6

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

.github/workflows/workflow.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ jobs:
2222
- name: Set-up Node.js
2323
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
2424
with:
25-
node-version: lts/*
25+
check-latest: true
26+
node-version-file: .nvmrc
2627

2728
- run: corepack enable
2829

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
22

CONTRIBUTING.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@
33
Requirements:
44

55
- [Node.js](https://nodejs.org)
6+
- Requires a relatively up-to-date version of Node.js - preferably the version in [.nvmrc](./.nvmrc).
67
- [Corepack](https://nodejs.org/api/corepack.html)
78
- Shipped with Node.js, however on some distributions it is not distributed, in which case install it through npm using: `npm install --global corepack`
89

910
To regenerated the compiled JavaScript files in `dist/`, call:
1011

1112
```
13+
nvm install
1214
corepack enable
1315
yarn install --immutable
1416
yarn build

0 commit comments

Comments
 (0)