diff --git a/.github/workflows/ci-repo.yml b/.github/workflows/ci-repo.yml index 7a6cebaa0c..f3feb98c49 100644 --- a/.github/workflows/ci-repo.yml +++ b/.github/workflows/ci-repo.yml @@ -5,18 +5,31 @@ on: branches: - "main" - "release-*" + pull_request: branches: - "main" - "release-*" + schedule: + - cron: "35 5 * * *" # every day @ 5:35am UTC + + workflow_dispatch: + jobs: unit-test-lookup-image: runs-on: ubuntu-latest outputs: builder-image: ${{ steps.grepBuilder.outputs.builder }} steps: + - name: Log the event + env: + GH: ${{ toJson(github) }} + run: | + echo "$GH" | jq "." + - uses: actions/checkout@v4 + - name: Lookup builder image from the project's Dockerfile id: grepBuilder run: | @@ -55,13 +68,15 @@ jobs: run: npm run test -- --coverage --watchAll=false - name: Upload to codecov (client) + # if: ${{ github.event_name == 'pull_request' }} uses: codecov/codecov-action@v4 with: flags: client - directory: ./*/coverage + directory: ./client/coverage - - name: Upload to codecov (server) - uses: codecov/codecov-action@v4 - with: - flags: server - directory: ./*/coverage + # ** Disabled since there are no tests on server or common ** + # - name: Upload to codecov (server) + # uses: codecov/codecov-action@v4 + # with: + # flags: server + # directory: ./server/coverage