Skip to content

Commit

Permalink
WEBUI-1453: elements ftests not working in cross repo check - node18
Browse files Browse the repository at this point in the history
  • Loading branch information
rahuljain-dev committed Feb 20, 2024
1 parent d2611f0 commit 1d553bf
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/cross-repo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ jobs:
with:
registry-url: ${{ env.NPM_REPOSITORY }}
scope: '@nuxeo'
node-version: 18

- uses: actions/setup-java@v2
with:
Expand Down Expand Up @@ -141,6 +142,18 @@ jobs:
popd
popd
- name: Add .npmrc
run: |
pushd /tmp/_temp/
rm .npmrc
touch .npmrc
popd
echo '
packages.nuxeo.com/repository/npm-public/:_auth=${NODE_AUTH_TOKEN}
@nuxeo:registry=https://packages.nuxeo.com/repository/npm-public/
always-auth=true
' >> /tmp/_temp/.npmrc
- name: Link elements to Web UI
run: |
npm install --no-package-lock --@nuxeo:registry="${{ env.NPM_REPOSITORY }}" nuxeo-elements/core/${ELEMENTS_CORE}
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/ftest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,9 @@ jobs:
popd
popd
- name: add .npmrc
- name: Add .npmrc
run: |
pushd /tmp/_temp/
ls
rm .npmrc
touch .npmrc
popd
Expand Down

0 comments on commit 1d553bf

Please sign in to comment.