Skip to content

Commit

Permalink
back to node18
Browse files Browse the repository at this point in the history
  • Loading branch information
rakeshkumar1019 committed Dec 22, 2023
1 parent 2db6b14 commit d22b383
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 27 deletions.
48 changes: 25 additions & 23 deletions .github/workflows/ftest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 '<settings>
<servers>
<server>
<id>maven-internal</id>
<username>${{ secrets.PACKAGES_AUTH_USER }}</username>
<password>${{ secrets.PACKAGES_AUTH_TOKEN }}</password>
</server>
</servers>
</settings>' > ~/.m2/settings.xml
- name: Determine nuxeo-elements branch to link
id: pick_nuxeo_elements_branch
run: |
Expand All @@ -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
Expand Down Expand Up @@ -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 '<settings>
<servers>
<server>
<id>maven-internal</id>
<username>${{ secrets.PACKAGES_AUTH_USER }}</username>
<password>${{ secrets.PACKAGES_AUTH_TOKEN }}</password>
</server>
</servers>
</settings>' > ~/.m2/settings.xml
- name: Functional tests
env:
RUN_ALL: false
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"license": "Apache-2.0",
"vendor": "Nuxeo",
"engines": {
"node": ">=14.0.0"
"node": ">=18.0.0"
},
"config": {
"workboxCli": "3.6.3"
Expand Down
2 changes: 1 addition & 1 deletion packages/nuxeo-designer-catalog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "Apache-2.0",
"vendor": "Nuxeo",
"engines": {
"node": ">=14.0.0"
"node": ">=18.0.0"
},
"private": true,
"main": "index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/nuxeo-web-ui-ftest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"license": "Apache-2.0",
"engines": {
"node": ">=14.0.0"
"node": ">=18.0.0"
},
"dependencies": {
"@babel/core": "^7.15.0",
Expand Down
2 changes: 1 addition & 1 deletion plugin/a11y/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit d22b383

Please sign in to comment.