Skip to content

Commit

Permalink
Use node 20
Browse files Browse the repository at this point in the history
  • Loading branch information
zerolab committed Jan 18, 2024
1 parent 2f1e57c commit db366dc
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"postCreateCommand": "pip install tox && tox devenv -e interactive && npm ci && ./venv/bin/pre-commit install",
"features": {
"ghcr.io/devcontainers/features/node:1": {
"version": "21"
"version": "20"
}
},
"customizations": {
Expand All @@ -19,4 +19,4 @@
}
}
}
}
}
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '20'

- name: Install Node dependencies
run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '20'

- name: Install Node dependencies
run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16
20
2 changes: 1 addition & 1 deletion docs/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ flit install -s
Frontend assets (React components, admin scripts, custom CSS) are bundled using Webpack. A Node.js environment is required to install and run the dependencies required to build these assets. We recommend [`nvm`](https://github.com/nvm-sh/nvm#install--update-script) for installing and using Node.js locally:

```shell
nvm install 21
nvm install 20
npm ci
```

Expand Down

0 comments on commit db366dc

Please sign in to comment.