From 37b2b313398b2222dde43fed7981753708e7e135 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Sun, 17 May 2026 15:56:17 +0300 Subject: [PATCH] ci: add job timeouts and install latest corepack inside playwright container --- .github/workflows/e2e.yml | 4 +++- .github/workflows/test.yml | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 7869c9c7..546c4962 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -20,12 +20,13 @@ jobs: url: ${{ github.event.inputs.url || github.event.deployment.payload.web_url || github.event.deployment_status.environment_url }} if: github.event.deployment_status.state == 'success' || github.event_name == 'workflow_dispatch' runs-on: ubuntu-latest + timeout-minutes: 15 container: image: mcr.microsoft.com/playwright:v1.59.1-noble steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - - run: corepack enable + - run: npm i -g --force corepack && corepack enable - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6 with: node-version: lts/* @@ -47,6 +48,7 @@ jobs: url: ${{ github.event.inputs.url || github.event.deployment.payload.web_url || github.event.deployment_status.environment_url }} if: github.event.deployment_status.state == 'success' || github.event_name == 'workflow_dispatch' runs-on: ubuntu-latest + timeout-minutes: 15 steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - run: curl ${{ github.event.inputs.url || github.event.deployment.payload.web_url || github.event.deployment_status.environment_url }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4d1981b3..29b85bcd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,6 +15,7 @@ concurrency: jobs: test: runs-on: ubuntu-latest + timeout-minutes: 15 steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 -- 2.51.2