From f8440cc3281afad50eac827bd0c2475fce08d3df Mon Sep 17 00:00:00 2001 From: Hongbo Wu Date: Wed, 8 Nov 2023 15:55:24 +0800 Subject: [PATCH] add timeout to the step --- .github/workflows/run-tests.yaml | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/run-tests.yaml b/.github/workflows/run-tests.yaml index e37d5c194..70714c14c 100644 --- a/.github/workflows/run-tests.yaml +++ b/.github/workflows/run-tests.yaml @@ -84,6 +84,7 @@ jobs: run: | source ~/.nvm/nvm.sh yarn test + timeout-minutes: 10 env: PG_HOST: localhost PG_PORT: ${{ job.services.postgres.ports[5432] }} diff --git a/package.json b/package.json index a35cc001d..aad1ec9a4 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ ], "license": "AGPL-3.0-only", "scripts": { - "test": "lerna run test --ignore @omnivore/api", + "test": "lerna run --no-bail test", "lint": "lerna run lint", "build": "lerna run build", "test:scoped:example": "lerna run test --scope={@omnivore/pdf-handler,@omnivore/web}",