Skip to content

Commit fe8fa0f

Browse files
authored
Merge pull request #44 from retejs/lit-stack
Lit stack
2 parents 86d7e10 + d1c934c commit fe8fa0f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+147
-88
lines changed

.github/workflows/daily.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
name: react
3030
version: ${{ matrix.version }}
3131
node: 18
32-
32+
3333
vue:
3434
strategy:
3535
fail-fast: false
@@ -41,7 +41,7 @@ jobs:
4141
name: vue
4242
version: ${{ matrix.version }}
4343
node: 18
44-
44+
4545
svelte:
4646
strategy:
4747
fail-fast: false
@@ -53,3 +53,15 @@ jobs:
5353
name: svelte
5454
version: ${{ matrix.version }}
5555
node: 18
56+
57+
lit:
58+
strategy:
59+
fail-fast: false
60+
max-parallel: 1
61+
matrix:
62+
version: [3]
63+
uses: ./.github/workflows/regression.yml
64+
with:
65+
name: lit-vite
66+
version: ${{ matrix.version }}
67+
node: 20

.github/workflows/regression.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ on:
3232
- vue
3333
- angular
3434
- svelte
35+
- lit-vite
3536
version:
3637
required: true
3738
type: number
@@ -71,7 +72,7 @@ jobs:
7172
name: Initialize ${{ inputs.name }} v${{ inputs.version }} app
7273
runs-on: ubuntu-latest
7374
timeout-minutes: 5
74-
needs: [tools,deps]
75+
needs: [tools,deps]
7576
if: |
7677
always() &&
7778
!contains(needs.*.result, 'failure') &&

.github/workflows/update-all-snapshots.yml

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
skip-tools: true
6565
qa-path: ${{ needs.tools.outputs.qa-path }}
6666
kit-path: ${{ needs.tools.outputs.kit-path }}
67-
67+
6868
vue:
6969
needs: tools
7070
strategy:
@@ -84,7 +84,7 @@ jobs:
8484
skip-tools: true
8585
qa-path: ${{ needs.tools.outputs.qa-path }}
8686
kit-path: ${{ needs.tools.outputs.kit-path }}
87-
87+
8888
svelte:
8989
needs: tools
9090
strategy:
@@ -104,3 +104,23 @@ jobs:
104104
skip-tools: true
105105
qa-path: ${{ needs.tools.outputs.qa-path }}
106106
kit-path: ${{ needs.tools.outputs.kit-path }}
107+
108+
lit:
109+
needs: tools
110+
strategy:
111+
fail-fast: false
112+
max-parallel: 1
113+
matrix:
114+
version: [3]
115+
uses: ./.github/workflows/update-snapshots.yml
116+
secrets: inherit
117+
with:
118+
name: lit-vite
119+
version: ${{ matrix.version }}
120+
node: 20
121+
branch: ${{ inputs.branch }}
122+
qa: ${{ needs.tools.outputs.qa-artifact }}
123+
kit: ${{ needs.tools.outputs.kit-artifact }}
124+
skip-tools: true
125+
qa-path: ${{ needs.tools.outputs.qa-path }}
126+
kit-path: ${{ needs.tools.outputs.kit-path }}

.github/workflows/update-snapshots.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ on:
4545
- vue
4646
- angular
4747
- svelte
48+
- lit-vite
4849
version:
4950
required: true
5051
type: number
@@ -131,7 +132,7 @@ jobs:
131132
name: snapshots-${{ inputs.name }}-v${{ inputs.version }}
132133
path: ${{ steps.get_snapshots.outputs.path }}
133134
retention-days: 7
134-
135+
135136
send:
136137
runs-on: ubuntu-latest
137138
needs: update
@@ -155,15 +156,15 @@ jobs:
155156
- name: Get path to snapshots
156157
id: snapshots_folder
157158
run: echo "path=./snapshots/${{ inputs.name }}${{ inputs.version }}" >> $GITHUB_OUTPUT
158-
159+
159160
- name: Clear old snapshots
160161
run: rm -rf ${{ steps.snapshots_folder.outputs.path }}
161-
162+
162163
- uses: actions/download-artifact@v3
163164
with:
164165
name: snapshots-${{ inputs.name }}-v${{ inputs.version }}
165166
path: ${{ steps.snapshots_folder.outputs.path }}
166-
167+
167168
- name: Create Pull Request
168169
uses: peter-evans/create-pull-request@v5
169170
with:
@@ -175,5 +176,5 @@ jobs:
175176
branch: update-snapshots-${{ inputs.name }}-v${{ inputs.version }}-${{ inputs.branch }}
176177
body: "Snapshots update for ${{ inputs.name }} v${{ inputs.version }}"
177178
reviewers: Ni55aN
178-
179-
179+
180+

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ node_modules/
44
/playwright/.cache/
55
/.rete-qa
66
/dist
7+
/coverage

package-lock.json

Lines changed: 17 additions & 73 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"scripts": {
99
"build": "tsc",
1010
"dev": "tsc --watch",
11-
"lint": "rete lint"
11+
"lint": "rete lint",
12+
"test": "rete test"
1213
},
1314
"author": "Vitaliy Stoliarov",
1415
"license": "MIT",
@@ -29,11 +30,11 @@
2930
"devDependencies": {
3031
"@types/tinycolor2": "^1.4.3",
3132
"nodemon": "^2.0.20",
32-
"rete-kit": "^1.7.0",
33+
"rete-kit": "^1.8.3",
3334
"typescript": "^4.9.5"
3435
},
3536
"peerDependencies": {
36-
"rete-kit": "^1.7.0"
37+
"rete-kit": "^1.8.3"
3738
},
3839
"dependencies": {
3940
"@playwright/test": "^1.37.1",
22.6 KB
23.6 KB
18.5 KB

0 commit comments

Comments
 (0)