diff --git a/.github/workflows/ci-repo.yml b/.github/workflows/ci-repo.yml index 66e735ddd1..9920661914 100644 --- a/.github/workflows/ci-repo.yml +++ b/.github/workflows/ci-repo.yml @@ -15,6 +15,10 @@ on: workflow_call: +concurrency: + group: ci-repo-${{ github.event_name }}-${{ github.ref }} + cancel-in-progress: true + jobs: unit-test-lookup-image: runs-on: ubuntu-latest @@ -61,14 +65,14 @@ jobs: run: npm run test -- --coverage --watchAll=false - name: Upload to codecov (client) - if: ${{ github.event.pull_request }} + # if: ${{ github.event.pull_request }} uses: codecov/codecov-action@v4 with: flags: client directory: ./client/coverage - name: Upload to codecov (server) - if: ${{ github.event.pull_request }} + # if: ${{ github.event.pull_request }} uses: codecov/codecov-action@v4 with: flags: server diff --git a/Dockerfile b/Dockerfile index 79001f3d87..90a6baed5f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,13 @@ FROM registry.access.redhat.com/ubi9/nodejs-18:1-118 as builder USER 1001 COPY --chown=1001 . . -RUN npm clean-install --ignore-scripts && npm run build && npm run dist +RUN npm version && \ + npm config --location=project set fetch-retry-maxtimeout 300000 && \ + npm config --location=project set fetch-retry-mintimeout 60000 && \ + npm config --location=project set fetch-timeout 600000 && \ + npm clean-install --verbose --ignore-scripts --no-audit && \ + npm run build && \ + npm run dist # Runner image FROM registry.access.redhat.com/ubi9/nodejs-18-minimal:1-123