diff --git a/.github/workflows/control.yml b/.github/workflows/control.yml index 8242ffc49..f6aad2866 100644 --- a/.github/workflows/control.yml +++ b/.github/workflows/control.yml @@ -18,7 +18,7 @@ jobs: - name: Setup node uses: actions/setup-node@v4 with: - node-version: '20.x' + node-version: '22.x' - run: (cd Control; npm ci ) - run: (cd Control; npm test ) coverage: @@ -29,7 +29,7 @@ jobs: - name: Setup node uses: actions/setup-node@v4 with: - node-version: '20.x' + node-version: '22.x' - run: (cd Control; npm ci ) - run: (cd Control; npm run coverage ) - run: (cd Control; ./node_modules/.bin/nyc report --reporter=text-lcov > coverage.lcov) diff --git a/.github/workflows/framework.yml b/.github/workflows/framework.yml index 538905348..c656489f8 100644 --- a/.github/workflows/framework.yml +++ b/.github/workflows/framework.yml @@ -18,7 +18,7 @@ jobs: - name: Setup node uses: actions/setup-node@v4 with: - node-version: '20.x' + node-version: '22.x' - run: (cd Framework/Backend; openssl req -new -newkey rsa:2048 -days 365 -nodes -x509 -subj "/C=CH/ST=Test/L=Test/O=Tst/CN=localhost" -keyout test.key -out test.pem) - run: (cd Framework; npm ci ) - run: (cd Framework; npm test ) @@ -29,7 +29,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: '20.x' + node-version: '22.x' - run: (cd Framework; npm ci ) - run: (cd Framework; npm run coverage ) - run: (cd Framework; ./node_modules/.bin/nyc report --reporter=text-lcov > coverage.lcov) @@ -46,7 +46,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: '20.x' + node-version: '22.x' - run: cd Framework; npm ci - run: cd Framework; npm test control-compatibility: @@ -62,7 +62,7 @@ jobs: - name: Setup node uses: actions/setup-node@v4 with: - node-version: '20.x' + node-version: '22.x' - run: (cd Framework; npm ci) - run: (cd Control; npm ci) - run: (cd Control; npm i --save ../Framework) @@ -83,7 +83,7 @@ jobs: - name: Setup node uses: actions/setup-node@v4 with: - node-version: '20.x' + node-version: '22.x' - run: (cd Framework; npm ci) - run: (cd QualityControl; npm ci) - run: (cd QualityControl; npm i --save ../Framework) @@ -103,7 +103,7 @@ jobs: - name: Setup node uses: actions/setup-node@v4 with: - node-version: '20.x' + node-version: '22.x' - run: (cd Framework; npm ci) - run: (cd InfoLogger; npm ci) - run: (cd InfoLogger; npm i --save ../Framework) diff --git a/.github/workflows/infologger.yml b/.github/workflows/infologger.yml index 6dba99e9e..14182a5e2 100644 --- a/.github/workflows/infologger.yml +++ b/.github/workflows/infologger.yml @@ -17,7 +17,7 @@ jobs: - name: Setup node uses: actions/setup-node@v4 with: - node-version: '20.x' + node-version: '22.x' - run: (cd InfoLogger; npm ci ) - run: (cd InfoLogger; npm test ) coverage: @@ -27,7 +27,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: '20.x' + node-version: '22.x' - run: (cd InfoLogger; npm ci ) - run: (cd InfoLogger; npm run coverage ) - run: (cd InfoLogger; ./node_modules/.bin/nyc report --reporter=text-lcov > coverage.lcov) diff --git a/.github/workflows/qc.yml b/.github/workflows/qc.yml index 202b6f59f..3b6f877c8 100644 --- a/.github/workflows/qc.yml +++ b/.github/workflows/qc.yml @@ -18,7 +18,7 @@ jobs: - name: Setup node uses: actions/setup-node@v4 with: - node-version: '20.x' + node-version: '22.x' - run: (cd QualityControl; npm ci ) - run: (cd QualityControl; npm run lint ) test: @@ -30,7 +30,7 @@ jobs: - name: Setup node uses: actions/setup-node@v4 with: - node-version: '20.x' + node-version: '22.x' - run: (cd QualityControl; npm ci ) - run: (cd QualityControl; npm run test ) coverage: @@ -42,7 +42,7 @@ jobs: - name: Setup node uses: actions/setup-node@v4 with: - node-version: '20.x' + node-version: '22.x' - run: (cd QualityControl; npm ci ) - run: (cd QualityControl; npm run coverage-lcov ) - name: Send codecov report for QualityControl diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4bedccd5f..30b9ade55 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: '20.x' + node-version: '22.x' registry-url: 'https://registry.npmjs.org' - name: Check released tag matches ALICE O2 naming pattern run: | @@ -52,7 +52,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: '20.x' + node-version: '22.x' registry-url: 'https://registry.npmjs.org' - name: Install production deps run: npm install --only=production diff --git a/Control/README.md b/Control/README.md index 4e41e44a5..5c0b4793c 100644 --- a/Control/README.md +++ b/Control/README.md @@ -41,7 +41,7 @@ This is a prototype of Control GUI. It aims to replace current ECS HI and provid It communicates with [Control agent](https://github.com/AliceO2Group/Control) over gRPC. ## Requirements -- `nodejs` >= `16.x` +- `nodejs` >= `22.x` ## Installation 1. `git clone https://github.com/AliceO2Group/WebUi.git` diff --git a/Control/package-lock.json b/Control/package-lock.json index c1671f05f..97c6c433a 100644 --- a/Control/package-lock.json +++ b/Control/package-lock.json @@ -31,7 +31,7 @@ "supertest": "7.0.0" }, "engines": { - "node": ">= 20.x" + "node": ">= 22.x" } }, "node_modules/@aliceo2/web-ui": { @@ -52,7 +52,7 @@ "ws": "^8.18.0" }, "engines": { - "node": ">= 20.x" + "node": ">= 22.x" } }, "node_modules/@ampproject/remapping": { diff --git a/Control/package.json b/Control/package.json index c9783d7bc..eb6206642 100644 --- a/Control/package.json +++ b/Control/package.json @@ -13,7 +13,7 @@ "url": "https://github.com/AliceO2Group/WebUi.git" }, "engines": { - "node": ">= 20.x" + "node": ">= 22.x" }, "homepage": "https://alice-o2-project.web.cern.ch/", "main": "index.js", diff --git a/Framework/package-lock.json b/Framework/package-lock.json index f81483690..166cb7570 100644 --- a/Framework/package-lock.json +++ b/Framework/package-lock.json @@ -33,7 +33,7 @@ "supertest": "^7.0.0" }, "engines": { - "node": ">= 20.x" + "node": ">= 22.x" } }, "node_modules/@aashutoshrathi/word-wrap": { diff --git a/Framework/package.json b/Framework/package.json index e6bffffb6..710a4dcce 100644 --- a/Framework/package.json +++ b/Framework/package.json @@ -13,7 +13,7 @@ "url": "https://github.com/AliceO2Group/WebUi.git" }, "engines": { - "node": ">= 20.x" + "node": ">= 22.x" }, "homepage": "https://alice-o2-project.web.cern.ch/", "scripts": { diff --git a/InfoLogger/package-lock.json b/InfoLogger/package-lock.json index 94b28c1c7..f2407b43f 100644 --- a/InfoLogger/package-lock.json +++ b/InfoLogger/package-lock.json @@ -27,7 +27,7 @@ "sinon": "^19.0.2" }, "engines": { - "node": ">= 20.x" + "node": ">= 22.x" } }, "node_modules/@aliceo2/web-ui": { @@ -48,7 +48,7 @@ "ws": "^8.18.0" }, "engines": { - "node": ">= 20.x" + "node": ">= 22.x" } }, "node_modules/@ampproject/remapping": { diff --git a/InfoLogger/package.json b/InfoLogger/package.json index 2e9a57643..3631f41bd 100644 --- a/InfoLogger/package.json +++ b/InfoLogger/package.json @@ -14,7 +14,7 @@ "url": "https://github.com/AliceO2Group/WebUi.git" }, "engines": { - "node": ">= 20.x" + "node": ">= 22.x" }, "homepage": "https://alice-o2-project.web.cern.ch/", "scripts": { diff --git a/QualityControl/package-lock.json b/QualityControl/package-lock.json index f385e42af..825a6bee1 100644 --- a/QualityControl/package-lock.json +++ b/QualityControl/package-lock.json @@ -29,7 +29,7 @@ "sinon": "^19.0.2" }, "engines": { - "node": ">= 20.x" + "node": ">= 22.x" } }, "node_modules/@aliceo2/web-ui": { @@ -50,7 +50,7 @@ "ws": "^8.18.0" }, "engines": { - "node": ">= 20.x" + "node": ">= 22.x" } }, "node_modules/@asamuzakjp/css-color": { diff --git a/QualityControl/package.json b/QualityControl/package.json index 653c8bbf2..b68af4aa5 100644 --- a/QualityControl/package.json +++ b/QualityControl/package.json @@ -13,7 +13,7 @@ "url": "https://github.com/AliceO2Group/WebUi.git" }, "engines": { - "node": ">= 20.x" + "node": ">= 22.x" }, "type": "module", "homepage": "https://alice-o2-project.web.cern.ch/",