NXP-28724: support for right to left language #3008
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
name: A11y | |
on: | |
pull_request: | |
branches: | |
- maintenance-3.1.x | |
workflow_call: | |
inputs: | |
branch: | |
description: 'The current branch' | |
default: maintenance-3.1.x | |
type: string | |
required: false | |
secrets: | |
NPM_PACKAGES_TOKEN: | |
description: 'NPM_PACKAGES_TOKEN' | |
required: true | |
PACKAGES_AUTH_USER: | |
description: 'PACKAGES_AUTH_USER' | |
required: true | |
PACKAGES_AUTH_TOKEN: | |
description: 'PACKAGES_AUTH_TOKEN' | |
required: true | |
env: | |
REFERENCE_BRANCH: maintenance-3.1.x | |
NPM_REPOSITORY: https://packages.nuxeo.com/repository/npm-public/ | |
BRANCH_NAME: ${{ github.head_ref || inputs.branch || 'maintenance-3.1.x' }} | |
jobs: | |
a11y: | |
runs-on: [self-hosted, master] | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
ref: ${{ env.BRANCH_NAME }} | |
- 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: 18 | |
scope: '@nuxeo' | |
- 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 | |
- uses: actions/setup-java@v2 | |
with: | |
distribution: 'zulu' | |
java-version: '17' | |
- 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: Web UI build | |
run: mvn -B -ntp install | |
- name: A11y checks | |
run: mvn -B -ntp -f plugin/a11y install |