diff --git a/.github/workflows/pr-open.yml b/.github/workflows/pr-open.yml index bc081cdb2..b60637e2e 100644 --- a/.github/workflows/pr-open.yml +++ b/.github/workflows/pr-open.yml @@ -2,6 +2,7 @@ name: Pull Request Open on: pull_request: + workflow_dispatch: concurrency: group: pr-${{ github.ref }} diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 91efd189c..384039a29 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -2,14 +2,9 @@ name: Unit Tests and Analysis on: pull_request: - types: - - opened - - reopened - - synchronize - - ready_for_review + types: [opened, reopened, synchronize, ready_for_review] push: - branches: - - main + branches: [main] workflow_dispatch: concurrency: @@ -28,7 +23,7 @@ jobs: npm ci npm run test-unit dir: api - node_version: 16 + node_version: 18.18.2 sonar_args: > -Dsonar.exclusions=**/test/**/*,.github/**/*,**/migrations/**/* -Dsonar.javascript.lcov.reportPaths=coverage/api/lcov.info