-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WEBUI-1350: NodeJS Upgrade - Rebase code in LTS2023 from LTS2021
- Loading branch information
1 parent
114afe5
commit 7c47eff
Showing
126 changed files
with
4,545 additions
and
3,004 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ on: | |
PACKAGES_AUTH_USER: | ||
description: 'PACKAGES_AUTH_USER' | ||
required: true | ||
PACKAGES_AUTH_TOKEN: | ||
PACKAGES_AUTH_TOKEN: | ||
description: 'PACKAGES_AUTH_TOKEN' | ||
required: true | ||
|
||
|
@@ -29,43 +29,51 @@ env: | |
|
||
jobs: | ||
a11y: | ||
runs-on: ubuntu-latest | ||
runs-on: [self-hosted, master] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
ref: ${{ env.BRANCH_NAME }} | ||
- uses: actions/checkout@v2 | ||
with: | ||
ref: ${{ env.BRANCH_NAME }} | ||
|
||
- run: git config user.name "nuxeo-webui-jx-bot" && git config user.email "[email protected]" | ||
- run: git config user.name "nuxeo-webui-jx-bot" && git config user.email "[email protected]" | ||
|
||
- uses: actions/setup-node@v3 | ||
with: | ||
registry-url: ${{ env.NPM_REPOSITORY }} | ||
node-version: 14 | ||
scope: '@nuxeo' | ||
- uses: actions/setup-node@v3 | ||
with: | ||
registry-url: ${{ env.NPM_REPOSITORY }} | ||
node-version: 18 | ||
scope: '@nuxeo' | ||
|
||
- uses: actions/setup-java@v2 | ||
with: | ||
distribution: 'zulu' | ||
java-version: '17' | ||
- 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: '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 | ||
- uses: actions/setup-java@v2 | ||
with: | ||
distribution: 'zulu' | ||
java-version: '17' | ||
|
||
- name: Web UI build | ||
run: mvn -B -ntp install | ||
- 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 | ||
#================================================================================================================== | ||
# this line of code has been commented on due to some driver issues, we will resume it once WEBUI-1266 is resolved. | ||
#================================================================================================================== | ||
# - name: A11y checks | ||
# run: mvn -B -ntp -f plugin/a11y install | ||
#================================================================================================================== | ||
- name: Web UI build | ||
run: mvn -B -ntp install | ||
|
||
- name: A11y checks | ||
run: mvn -B -ntp -f plugin/a11y install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,31 +22,23 @@ jobs: | |
with: | ||
branch: maintenance-3.1.x | ||
|
||
#================================================================================================================== | ||
# this line of code has been commented on due to some driver issues, we will resume it once WEBUI-1266 is resolved. | ||
#================================================================================================================== | ||
# a11y: | ||
# uses: nuxeo/nuxeo-web-ui/.github/workflows/[email protected] | ||
# secrets: | ||
# NPM_PACKAGES_TOKEN: ${{ secrets.NPM_PACKAGES_TOKEN }} | ||
# PACKAGES_AUTH_USER: ${{ secrets.PACKAGES_AUTH_USER }} | ||
# PACKAGES_AUTH_TOKEN: ${{ secrets.PACKAGES_AUTH_TOKEN }} | ||
# with: | ||
# branch: maintenance-3.1.x | ||
#================================================================================================================== | ||
|
||
#================================================================================================================== | ||
# this line of code has been commented on due to some driver issues, we will resume it once WEBUI-1267 is resolved. | ||
#================================================================================================================== | ||
# ftest: | ||
# uses: nuxeo/nuxeo-web-ui/.github/workflows/[email protected] | ||
# secrets: | ||
# NPM_PACKAGES_TOKEN: ${{ secrets.NPM_PACKAGES_TOKEN }} | ||
# PACKAGES_AUTH_USER: ${{ secrets.PACKAGES_AUTH_USER }} | ||
# PACKAGES_AUTH_TOKEN: ${{ secrets.PACKAGES_AUTH_TOKEN }} | ||
# with: | ||
# branch: maintenance-3.1.x | ||
#================================================================================================================== | ||
a11y: | ||
uses: nuxeo/nuxeo-web-ui/.github/workflows/[email protected] | ||
secrets: | ||
NPM_PACKAGES_TOKEN: ${{ secrets.NPM_PACKAGES_TOKEN }} | ||
PACKAGES_AUTH_USER: ${{ secrets.PACKAGES_AUTH_USER }} | ||
PACKAGES_AUTH_TOKEN: ${{ secrets.PACKAGES_AUTH_TOKEN }} | ||
with: | ||
branch: maintenance-3.1.x | ||
|
||
ftest: | ||
uses: nuxeo/nuxeo-web-ui/.github/workflows/[email protected] | ||
secrets: | ||
NPM_PACKAGES_TOKEN: ${{ secrets.NPM_PACKAGES_TOKEN }} | ||
PACKAGES_AUTH_USER: ${{ secrets.PACKAGES_AUTH_USER }} | ||
PACKAGES_AUTH_TOKEN: ${{ secrets.PACKAGES_AUTH_TOKEN }} | ||
with: | ||
branch: maintenance-3.1.x | ||
|
||
build: | ||
needs: [lint, test] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 0 additions & 28 deletions
28
addons/nuxeo-csv/ftest/features/step_definitions/csv-import.js
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
66 changes: 0 additions & 66 deletions
66
addons/nuxeo-spreadsheet/ftest/features/step_definitions/spreadsheet.js
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.