Skip to content

Commit

Permalink
WEBUI-1647: revert code test ally rc
Browse files Browse the repository at this point in the history
  • Loading branch information
rakeshkumar1019 committed Feb 10, 2025
1 parent d91e713 commit e792ade
Showing 1 changed file with 11 additions and 32 deletions.
43 changes: 11 additions & 32 deletions .github/workflows/a11y.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,17 @@ jobs:
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
- 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:
Expand All @@ -72,27 +72,6 @@ jobs:
</servers>
</settings>' > ~/.m2/settings.xml
- name: get latest element rc
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
cat package.json
# Get latest UI Elements version
ELEMENTS_VERSION=$(npm view @nuxeo/nuxeo-ui-elements versions --json | jq -r '.[]' | grep -E "3\.1\.[0-9]+-rc\.[0-9]+$" | sort -V | tail -n1)
echo "Latest nuxeo-elements version: $ELEMENTS_VERSION"
# Update package.json dependencies and devDependencies
jq --arg ver "~$ELEMENTS_VERSION" '
.dependencies."@nuxeo/nuxeo-dataviz-elements" = $ver |
.dependencies."@nuxeo/nuxeo-elements" = $ver |
.dependencies."@nuxeo/nuxeo-ui-elements" = $ver |
.devDependencies."@nuxeo/testing-helpers" = $ver
' package.json > tmp.json && mv tmp.json package.json
echo "Updated all Nuxeo dependencies to version $ELEMENTS_VERSION"
echo "----------------------------------------------------------------------"
cat package.json
- name: Web UI build
run: mvn -B -ntp install

Expand Down

0 comments on commit e792ade

Please sign in to comment.