From 94531ee9ee152ec389a4e04fbccc551788e883a3 Mon Sep 17 00:00:00 2001 From: Ni55aN Date: Tue, 20 Aug 2024 17:48:44 +0300 Subject: [PATCH] feat: add lit-vite stack --- .github/workflows/daily.yml | 16 +++++++++++++-- .github/workflows/regression.yml | 3 ++- .github/workflows/update-all-snapshots.yml | 24 ++++++++++++++++++++-- .github/workflows/update-snapshots.yml | 13 ++++++------ 4 files changed, 45 insertions(+), 11 deletions(-) diff --git a/.github/workflows/daily.yml b/.github/workflows/daily.yml index 049a620..ea64f8a 100644 --- a/.github/workflows/daily.yml +++ b/.github/workflows/daily.yml @@ -29,7 +29,7 @@ jobs: name: react version: ${{ matrix.version }} node: 18 - + vue: strategy: fail-fast: false @@ -41,7 +41,7 @@ jobs: name: vue version: ${{ matrix.version }} node: 18 - + svelte: strategy: fail-fast: false @@ -53,3 +53,15 @@ jobs: name: svelte version: ${{ matrix.version }} node: 18 + + lit: + strategy: + fail-fast: false + max-parallel: 1 + matrix: + version: [3] + uses: ./.github/workflows/regression.yml + with: + name: lit-vite + version: ${{ matrix.version }} + node: 20 diff --git a/.github/workflows/regression.yml b/.github/workflows/regression.yml index 7ad565b..eaea98f 100644 --- a/.github/workflows/regression.yml +++ b/.github/workflows/regression.yml @@ -32,6 +32,7 @@ on: - vue - angular - svelte + - lit-vite version: required: true type: number @@ -71,7 +72,7 @@ jobs: name: Initialize ${{ inputs.name }} v${{ inputs.version }} app runs-on: ubuntu-latest timeout-minutes: 5 - needs: [tools,deps] + needs: [tools,deps] if: | always() && !contains(needs.*.result, 'failure') && diff --git a/.github/workflows/update-all-snapshots.yml b/.github/workflows/update-all-snapshots.yml index c89d03a..301a678 100644 --- a/.github/workflows/update-all-snapshots.yml +++ b/.github/workflows/update-all-snapshots.yml @@ -64,7 +64,7 @@ jobs: skip-tools: true qa-path: ${{ needs.tools.outputs.qa-path }} kit-path: ${{ needs.tools.outputs.kit-path }} - + vue: needs: tools strategy: @@ -84,7 +84,7 @@ jobs: skip-tools: true qa-path: ${{ needs.tools.outputs.qa-path }} kit-path: ${{ needs.tools.outputs.kit-path }} - + svelte: needs: tools strategy: @@ -104,3 +104,23 @@ jobs: skip-tools: true qa-path: ${{ needs.tools.outputs.qa-path }} kit-path: ${{ needs.tools.outputs.kit-path }} + + lit: + needs: tools + strategy: + fail-fast: false + max-parallel: 1 + matrix: + version: [3] + uses: ./.github/workflows/update-snapshots.yml + secrets: inherit + with: + name: lit-vite + version: ${{ matrix.version }} + node: 20 + branch: ${{ inputs.branch }} + qa: ${{ needs.tools.outputs.qa-artifact }} + kit: ${{ needs.tools.outputs.kit-artifact }} + skip-tools: true + qa-path: ${{ needs.tools.outputs.qa-path }} + kit-path: ${{ needs.tools.outputs.kit-path }} \ No newline at end of file diff --git a/.github/workflows/update-snapshots.yml b/.github/workflows/update-snapshots.yml index 85a4d1b..73ebf24 100644 --- a/.github/workflows/update-snapshots.yml +++ b/.github/workflows/update-snapshots.yml @@ -45,6 +45,7 @@ on: - vue - angular - svelte + - lit-vite version: required: true type: number @@ -131,7 +132,7 @@ jobs: name: snapshots-${{ inputs.name }}-v${{ inputs.version }} path: ${{ steps.get_snapshots.outputs.path }} retention-days: 7 - + send: runs-on: ubuntu-latest needs: update @@ -155,15 +156,15 @@ jobs: - name: Get path to snapshots id: snapshots_folder run: echo "path=./snapshots/${{ inputs.name }}${{ inputs.version }}" >> $GITHUB_OUTPUT - + - name: Clear old snapshots run: rm -rf ${{ steps.snapshots_folder.outputs.path }} - + - uses: actions/download-artifact@v3 with: name: snapshots-${{ inputs.name }}-v${{ inputs.version }} path: ${{ steps.snapshots_folder.outputs.path }} - + - name: Create Pull Request uses: peter-evans/create-pull-request@v5 with: @@ -175,5 +176,5 @@ jobs: branch: update-snapshots-${{ inputs.name }}-v${{ inputs.version }}-${{ inputs.branch }} body: "Snapshots update for ${{ inputs.name }} v${{ inputs.version }}" reviewers: Ni55aN - - + +