diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bc69269cf7..4ff4d821f4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,11 +10,13 @@ permissions: contents: read env: - node: 20 + node: 22 jobs: unit: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: + - name: Add libraries needed for installing canvas npm package + run: sudo apt update && sudo apt install -y build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev - uses: actions/checkout@v4 - name: setup node uses: actions/setup-node@v4 @@ -37,8 +39,10 @@ jobs: SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }} lint: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: + - name: Add libraries needed for installing canvas npm package + run: sudo apt update && sudo apt install -y build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev - uses: actions/checkout@v4 - name: setup node uses: actions/setup-node@v4 diff --git a/.nvmrc b/.nvmrc index 209e3ef4b6..2bd5a0a98a 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -20 +22 diff --git a/Dockerfile b/Dockerfile index 0a672a1be7..da25df5ec0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # build stage -FROM docker.io/node:20 AS build-stage +FROM docker.io/node:22 AS build-stage ## add libraries needed for installing canvas npm package RUN apt update && apt install -y g++ libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev; diff --git a/package-lock.json b/package-lock.json index 1eaf976744..b9d080c85e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,7 +8,7 @@ "dependencies": { "@braintree/sanitize-url": "^6.0.4", "@ckeditor/ckeditor5-vue": "^5.1.0", - "@hpi-schul-cloud/ckeditor": "^1.1.0", + "@hpi-schul-cloud/ckeditor": "^1.2.0", "@lumieducation/h5p-webcomponents": "^9.2.2", "@vuelidate/core": "^2.0.3", "@vuelidate/validators": "^2.0.4", @@ -89,7 +89,7 @@ "webpack-plugin-vuetify": "^3.0.3" }, "engines": { - "node": "20", + "node": "22", "npm": ">=9" } }, @@ -2155,12 +2155,12 @@ "license": "MIT" }, "node_modules/@hpi-schul-cloud/ckeditor": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@hpi-schul-cloud/ckeditor/-/ckeditor-1.1.0.tgz", - "integrity": "sha512-pcmF/JtrCB9K4uXQdKiFaziPEKYbv1E9M4HJJANBXem+FFLMHWbBkmdJQxR1LRizLc4FqAvlzmKQq5pHdlng8A==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@hpi-schul-cloud/ckeditor/-/ckeditor-1.2.0.tgz", + "integrity": "sha512-2i8zWh6Em14K1bE2tTAwAoxPRiQ+UhSPCbotFGOObP1xcrQKUVDEjTX6QYfzY2dA/FDIiSOSQr568EtB0iLRzg==", "license": "AGPL-3.0", "engines": { - "node": "20", + "node": ">=20", "npm": ">=10" } }, diff --git a/package.json b/package.json index 15abbe44ac..ed84f3b7dd 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "dependencies": { "@braintree/sanitize-url": "^6.0.4", "@ckeditor/ckeditor5-vue": "^5.1.0", - "@hpi-schul-cloud/ckeditor": "^1.1.0", + "@hpi-schul-cloud/ckeditor": "^1.2.0", "@lumieducation/h5p-webcomponents": "^9.2.2", "@vuelidate/core": "^2.0.3", "@vuelidate/validators": "^2.0.4", @@ -104,7 +104,7 @@ } }, "engines": { - "node": "20", + "node": "22", "npm": ">=9" } }