Skip to content

Commit c843c69

Browse files
committed
nvm
Signed-off-by: Sora Morimoto <sora@morimoto.io>
1 parent 5dcf82c commit c843c69

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

.github/workflows/workflow.yml

+2-1
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

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

CONTRIBUTING.md

+2
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)