Skip to content

Commit

Permalink
Set node version to 18. (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
floitsch authored Nov 26, 2024
1 parent fb9a4de commit 3ab143c
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: 18

# This action is provided by Cypress. It installs node and the NPM
# dependencies, and caches them.
- name: Cypress install
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lts/hydrogen
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,21 @@ This is the official site for the open source programming language **Toit**.

It is built with [SvelteKit](https://kit.svelte.dev).

## Node version

This project doesn't compile anymore with recent node versions. Use,
for example, `nvm` to install an older version of node. The repository
contains a `.nvmrc` file that specifies the node version that works.

If you have nvm installed, but not automatically activated in your
.bashrc, you will need to do

```bash
source /usr/share/nvm/init-nvm.sh
```

Then run `nvm install` to install the correct version of node.

## Developing

```bash
Expand Down

0 comments on commit 3ab143c

Please sign in to comment.