From 0e16c8196b4a8c6e6709ff1cc281c5e01703c651 Mon Sep 17 00:00:00 2001 From: Vitaliy Stoliarov Date: Mon, 5 Feb 2024 23:13:46 +0200 Subject: [PATCH] Create update-all-snapshots.yml --- .github/workflows/update-all-snapshots.yml | 78 ++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 .github/workflows/update-all-snapshots.yml diff --git a/.github/workflows/update-all-snapshots.yml b/.github/workflows/update-all-snapshots.yml new file mode 100644 index 0000000..e466a7b --- /dev/null +++ b/.github/workflows/update-all-snapshots.yml @@ -0,0 +1,78 @@ +name: Update all snaphots + +on: + workflow_dispatch: + inputs: + branch: + description: 'Branch' + default: main + qa: + description: 'Rete QA (@ or /#)' + type: string + default: 'rete-qa@latest' + kit: + description: 'Rete Kit (@ or /#)' + type: string + default: 'rete-kit@latest' + + +jobs: + angular: + strategy: + fail-fast: false + max-parallel: 2 + matrix: + version: [17,16,15,14,13,12] + uses: ./.github/workflows/update-snapshots.yml + with: + name: angular + version: ${{ matrix.version }} + node: ${{ matrix.version < 14 && 14 || (matrix.version >=17 && 18 || 16) }} + branch: ${{ inputs.branch }} + qa: ${{ inputs.qa }} + kit: ${{ inputs.kit }} + + react: + strategy: + fail-fast: false + max-parallel: 1 + matrix: + version: [18,17,16] + uses: ./.github/workflows/update-snapshots.yml + with: + name: react + version: ${{ matrix.version }} + node: 18 + branch: ${{ inputs.branch }} + qa: ${{ inputs.qa }} + kit: ${{ inputs.kit }} + + vue: + strategy: + fail-fast: false + max-parallel: 1 + matrix: + version: [3,2] + uses: ./.github/workflows/update-snapshots.yml + with: + name: vue + version: ${{ matrix.version }} + node: 18 + branch: ${{ inputs.branch }} + qa: ${{ inputs.qa }} + kit: ${{ inputs.kit }} + + svelte: + strategy: + fail-fast: false + max-parallel: 1 + matrix: + version: [4,3] + uses: ./.github/workflows/update-snapshots.yml + with: + name: svelte + version: ${{ matrix.version }} + node: 18 + branch: ${{ inputs.branch }} + qa: ${{ inputs.qa }} + kit: ${{ inputs.kit }}