Skip to content

Commit

Permalink
Create update-all-snapshots.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Ni55aN authored Feb 5, 2024
1 parent 56edd54 commit 0e16c81
Showing 1 changed file with 78 additions and 0 deletions.
78 changes: 78 additions & 0 deletions .github/workflows/update-all-snapshots.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
name: Update all snaphots

on:
workflow_dispatch:
inputs:
branch:
description: 'Branch'
default: main
qa:
description: 'Rete QA (<name>@<version> or <owner>/<repo>#<version>)'
type: string
default: 'rete-qa@latest'
kit:
description: 'Rete Kit (<name>@<version> or <owner>/<repo>#<version>)'
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 }}

0 comments on commit 0e16c81

Please sign in to comment.