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 16, 2024
1 parent 5dcf82c commit c843c69
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ jobs:
- name: Set-up Node.js
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version: lts/*
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
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@
Requirements:

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

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

```
nvm install
corepack enable
yarn install --immutable
yarn build
Expand Down

0 comments on commit c843c69

Please sign in to comment.