diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 18eaa1bf..dc5bbf9f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 24 cache: 'npm' - run: npm ci - run: npm run lint @@ -20,7 +20,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 24 cache: 'npm' - run: npm ci - run: npm test diff --git a/examples/nextjs/package.json b/examples/nextjs/package.json index 4cf784a4..4c91f8ad 100644 --- a/examples/nextjs/package.json +++ b/examples/nextjs/package.json @@ -36,5 +36,8 @@ "eslint-config-next": "15.1.11", "npm-run-all": "^4.1.5", "typescript": "^5" + }, + "engines": { + "node": "24.x" } } diff --git a/package-lock.json b/package-lock.json index 8bf80428..49fa79d4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23,6 +23,9 @@ "rimraf": "^6.0.1", "turbo": "^2.5.4", "typescript": "^5.7.2" + }, + "engines": { + "node": "24.x" } }, "examples/nextjs": { @@ -35,6 +38,7 @@ "jwplayer-video-element": "^1.3.5", "next": "^15.1.11", "open-props": "^1.7.8", + "peertube-video-element": "^1.1.0", "react": "^19.2.4", "react-dom": "^19.2.4", "shaka-video-element": "^0.7.1", @@ -54,6 +58,9 @@ "eslint-config-next": "15.1.11", "npm-run-all": "^4.1.5", "typescript": "^5" + }, + "engines": { + "node": "24.x" } }, "node_modules/@emnapi/runtime": { diff --git a/package.json b/package.json index cbda3c13..17691906 100644 --- a/package.json +++ b/package.json @@ -37,5 +37,8 @@ "turbo": "^2.5.4", "typescript": "^5.7.2" }, - "packageManager": "npm@11.0.0" + "packageManager": "npm@11.0.0", + "engines": { + "node": "24.x" + } }