diff --git a/.github/workflows/cross-repo.yaml b/.github/workflows/cross-repo.yaml index 85302b1ba5..71206da39e 100644 --- a/.github/workflows/cross-repo.yaml +++ b/.github/workflows/cross-repo.yaml @@ -67,6 +67,7 @@ jobs: with: registry-url: ${{ env.NPM_REPOSITORY }} scope: '@nuxeo' + node-version: 18 - uses: actions/setup-java@v2 with: @@ -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} diff --git a/.github/workflows/ftest.yaml b/.github/workflows/ftest.yaml index 335f9d0a9b..5553bbde74 100644 --- a/.github/workflows/ftest.yaml +++ b/.github/workflows/ftest.yaml @@ -95,10 +95,9 @@ jobs: popd popd - - name: add .npmrc + - name: Add .npmrc run: | pushd /tmp/_temp/ - ls rm .npmrc touch .npmrc popd