From d22b383f0929f98cbe5551b34187361b2a322573 Mon Sep 17 00:00:00 2001 From: rakeshkumar1019 Date: Fri, 22 Dec 2023 12:16:41 +0530 Subject: [PATCH] back to node18 --- .github/workflows/ftest.yaml | 48 ++++++++++---------- package.json | 2 +- packages/nuxeo-designer-catalog/package.json | 2 +- packages/nuxeo-web-ui-ftest/package.json | 2 +- plugin/a11y/package.json | 2 +- 5 files changed, 29 insertions(+), 27 deletions(-) diff --git a/.github/workflows/ftest.yaml b/.github/workflows/ftest.yaml index 1c88e11ad3..54d15220e4 100644 --- a/.github/workflows/ftest.yaml +++ b/.github/workflows/ftest.yaml @@ -39,12 +39,26 @@ jobs: with: registry-url: ${{ env.NPM_REPOSITORY }} scope: '@nuxeo' + node-version: 18 - uses: actions/setup-java@v2 with: distribution: 'zulu' java-version: '11' + - name: 'Update settings.xml with server configuration' + run: | + echo ' + + + maven-internal + ${{ secrets.PACKAGES_AUTH_USER }} + ${{ secrets.PACKAGES_AUTH_TOKEN }} + + + ' > ~/.m2/settings.xml + + - name: Determine nuxeo-elements branch to link id: pick_nuxeo_elements_branch run: | @@ -54,17 +68,17 @@ jobs: echo ::set-output name=branch::${{ env.REFERENCE_BRANCH }} fi - # - name: Install Web UI - # env: - # NODE_AUTH_TOKEN: ${{ secrets.NPM_PACKAGES_TOKEN }} - # run: | - # npm install - # pushd packages/nuxeo-web-ui-ftest - # npm install - # popd - # pushd packages/nuxeo-designer-catalog - # npm install - # popd + - name: Install Web UI + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_PACKAGES_TOKEN }} + run: | + npm install + pushd packages/nuxeo-web-ui-ftest + npm install + popd + pushd packages/nuxeo-designer-catalog + npm install + popd - name: Checkout the nuxeo-elements repo uses: actions/checkout@v2 @@ -105,18 +119,6 @@ jobs: npm install --no-package-lock --@nuxeo:registry="${{ env.NPM_REPOSITORY }}" nuxeo-elements/dataviz/${ELEMENTS_DATAVIZ} --verbose npm install --no-package-lock --@nuxeo:registry="${{ env.NPM_REPOSITORY }}" nuxeo-elements/testing-helpers/${ELEMENTS_HELPERS} --verbose - - name: 'Update settings.xml with server configuration' - run: | - echo ' - - - maven-internal - ${{ secrets.PACKAGES_AUTH_USER }} - ${{ secrets.PACKAGES_AUTH_TOKEN }} - - - ' > ~/.m2/settings.xml - - name: Functional tests env: RUN_ALL: false diff --git a/package.json b/package.json index 47a935e885..9216e9819b 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "license": "Apache-2.0", "vendor": "Nuxeo", "engines": { - "node": ">=14.0.0" + "node": ">=18.0.0" }, "config": { "workboxCli": "3.6.3" diff --git a/packages/nuxeo-designer-catalog/package.json b/packages/nuxeo-designer-catalog/package.json index 0c3c521642..72a53a4089 100644 --- a/packages/nuxeo-designer-catalog/package.json +++ b/packages/nuxeo-designer-catalog/package.json @@ -5,7 +5,7 @@ "license": "Apache-2.0", "vendor": "Nuxeo", "engines": { - "node": ">=14.0.0" + "node": ">=18.0.0" }, "private": true, "main": "index.js", diff --git a/packages/nuxeo-web-ui-ftest/package.json b/packages/nuxeo-web-ui-ftest/package.json index a2d390a01e..297073f352 100644 --- a/packages/nuxeo-web-ui-ftest/package.json +++ b/packages/nuxeo-web-ui-ftest/package.json @@ -11,7 +11,7 @@ }, "license": "Apache-2.0", "engines": { - "node": ">=14.0.0" + "node": ">=18.0.0" }, "dependencies": { "@babel/core": "^7.15.0", diff --git a/plugin/a11y/package.json b/plugin/a11y/package.json index 416757227d..b294f0bc78 100644 --- a/plugin/a11y/package.json +++ b/plugin/a11y/package.json @@ -2,7 +2,7 @@ "name": "@nuxeo/nuxeo-web-ui-a11y", "version": "1.0.0", "engines": { - "node": ">=14.0.0" + "node": ">=18.0.0" }, "scripts": { "start": "npm run test",