From 850e5aebf4209b58929778cf5b237911843d202e Mon Sep 17 00:00:00 2001 From: rakeshkumar1019 Date: Fri, 22 Dec 2023 14:40:04 +0530 Subject: [PATCH] node18 with logs --- .github/workflows/ftest.yaml | 16 +++++++++++++++- 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, 19 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ftest.yaml b/.github/workflows/ftest.yaml index fb042d3e3b..3c947b2721 100644 --- a/.github/workflows/ftest.yaml +++ b/.github/workflows/ftest.yaml @@ -39,7 +39,7 @@ jobs: with: registry-url: ${{ env.NPM_REPOSITORY }} scope: '@nuxeo' - node-version: 16 + node-version: 18 - uses: actions/setup-java@v2 with: @@ -58,6 +58,9 @@ jobs: ' > ~/.m2/settings.xml + - name: Check Nexus Repository Authentication + run: | + curl -u ${{ secrets.PACKAGES_AUTH_USER }}:${{ secrets.PACKAGES_AUTH_TOKEN }} ${{ env.NPM_REPOSITORY }} - name: Determine nuxeo-elements branch to link id: pick_nuxeo_elements_branch @@ -99,15 +102,26 @@ jobs: - name: List npm config run: | + echo "List Files" + ls -al + echo "view npmrc" + cat .npmrc + echo "Npm Congig List" npm config ls -l + pwd + echo "Link Files" + echo ${ELEMENTS_CORE} + echo nuxeo-elements/core/${ELEMENTS_CORE} - name: Link elements to Web UI run: | + export NPM_CONFIG_LOGLEVEL=silly npm install --no-package-lock --@nuxeo:registry="${{ env.NPM_REPOSITORY }}" nuxeo-elements/core/${ELEMENTS_CORE} --verbose npm install --no-package-lock --@nuxeo:registry="${{ env.NPM_REPOSITORY }}" nuxeo-elements/ui/${ELEMENTS_UI} --verbose 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: Functional tests env: RUN_ALL: false diff --git a/package.json b/package.json index 5029dae258..9216e9819b 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "license": "Apache-2.0", "vendor": "Nuxeo", "engines": { - "node": ">=16.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 adebf8149d..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": ">=16.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 8eb3895281..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": ">=16.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 2f3834b408..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": ">=16.0.0" + "node": ">=18.0.0" }, "scripts": { "start": "npm run test",