Serialize shared E2E workflow runs

This commit is contained in:
Vsevolod Kukol
2026-09-11 21:54:24 +02:00
parent b16229d1f8
commit 87f1f88e1d
+16
View File
@@ -10,7 +10,11 @@ on:
- master - master
- hotfix/** - hotfix/**
- release/** - release/**
concurrency:
group: ci-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
permissions: permissions:
actions: read
id-token: write id-token: write
contents: read contents: read
jobs: jobs:
@@ -157,8 +161,20 @@ jobs:
name: mpac-package name: mpac-package
path: "bin/Release/*.nupkg" path: "bin/Release/*.nupkg"
e2e-queue:
name: "Wait for E2E Environment"
runs-on: ubuntu-latest
timeout-minutes: 360
steps:
- name: Wait for earlier CI runs
uses: softprops/turnstyle@3805450be63b8c80577dc253e8c17e9132036df4 # v3.3.3
with:
same-branch-only: false
poll-interval-seconds: 30
playwright-tests: playwright-tests:
name: "Run Playwright Tests (Shard ${{ matrix.shardIndex }} of ${{ matrix.shardTotal }})" name: "Run Playwright Tests (Shard ${{ matrix.shardIndex }} of ${{ matrix.shardTotal }})"
needs: [e2e-queue]
runs-on: ubuntu-latest runs-on: ubuntu-latest
env: env:
NODE_TLS_REJECT_UNAUTHORIZED: 0 NODE_TLS_REJECT_UNAUTHORIZED: 0