diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index e1a95e08c5..9e5d4dce43 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -4,7 +4,7 @@ "features": { "ghcr.io/devcontainers/features/node:1": { // This should match the version of Node.js in Github Actions workflows - "version": "18", + "version": "22", "nodeGypDependencies": false }, "ghcr.io/devcontainers/features/azure-cli:1.2.5": {}, diff --git a/.github/workflows/python-test.yaml b/.github/workflows/python-test.yaml index b2b0a58652..bcfd2ebab5 100644 --- a/.github/workflows/python-test.yaml +++ b/.github/workflows/python-test.yaml @@ -19,13 +19,14 @@ on: jobs: test_package: - name: Test ${{ matrix.os }} Python ${{ matrix.python_version }} + name: Test ${{ matrix.os }} Python ${{ matrix.python_version }} Node ${{ matrix.node_version }} runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: os: ["ubuntu-latest", "windows-latest"] python_version: ["3.9", "3.10", "3.11", "3.12", "3.13"] + node_version: ["20", "22"] steps: - uses: actions/checkout@v4 - name: Install uv @@ -38,7 +39,7 @@ jobs: - name: Setup node uses: actions/setup-node@v4 with: - node-version: 18 + node-version: ${{ matrix.node_version }} - name: Build frontend run: | cd ./app/frontend diff --git a/README.md b/README.md index 21c4cf37cc..08cc88fd77 100644 --- a/README.md +++ b/README.md @@ -134,7 +134,7 @@ A related option is VS Code Dev Containers, which will open the project in your - [Python 3.9, 3.10, or 3.11](https://www.python.org/downloads/) - **Important**: Python and the pip package manager must be in the path in Windows for the setup scripts to work. - **Important**: Ensure you can run `python --version` from console. On Ubuntu, you might need to run `sudo apt install python-is-python3` to link `python` to `python3`. - - [Node.js 18+](https://nodejs.org/download/) + - [Node.js 20+](https://nodejs.org/download/) - [Git](https://git-scm.com/downloads) - [Powershell 7+ (pwsh)](https://github.com/powershell/powershell) - For Windows users only. - **Important**: Ensure you can run `pwsh.exe` from a PowerShell terminal. If this fails, you likely need to upgrade PowerShell. diff --git a/app/frontend/.nvmrc b/app/frontend/.nvmrc index 946789e619..1d975bef24 100644 --- a/app/frontend/.nvmrc +++ b/app/frontend/.nvmrc @@ -1 +1 @@ -16.0.0 +22.0.0 diff --git a/app/frontend/package.json b/app/frontend/package.json index a2d2f7b611..731bf9ba12 100644 --- a/app/frontend/package.json +++ b/app/frontend/package.json @@ -4,7 +4,7 @@ "version": "0.0.0", "type": "module", "engines": { - "node": ">=14.0.0" + "node": ">=20.0.0" }, "scripts": { "dev": "vite --host 127.0.0.1",