44 pull_request :
55 branches :
66 - main
7+ - release
78 push :
89 branches :
910 - main
@@ -27,20 +28,16 @@ jobs:
2728 steps :
2829 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2930
30- - uses : actions /setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
31+ - uses : voidzero-dev /setup-vp@a03302daa50cf2f017c8c7345730c2740df207d6 # v1
3132 with :
3233 node-version : lts/*
33-
34- - uses : pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # 4e1c8eafbd745f64b1ef30a7d7ed7965034c486c
35- name : π§ Install pnpm
36- with :
37- cache : true
34+ run-install : false
3835
3936 - name : π¦ Install dependencies (root only, no scripts)
40- run : pnpm install --filter . --ignore-scripts
37+ run : vp install --filter . --ignore-scripts
4138
4239 - name : π Lint project
43- run : pnpm lint
40+ run : vp run lint
4441
4542 types :
4643 name : πͺ Type check
@@ -49,20 +46,13 @@ jobs:
4946 steps :
5047 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5148
52- - uses : actions /setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
49+ - uses : voidzero-dev /setup-vp@a03302daa50cf2f017c8c7345730c2740df207d6 # v1
5350 with :
5451 node-version : lts/*
55-
56- - uses : pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # 4e1c8eafbd745f64b1ef30a7d7ed7965034c486c
57- name : π§ Install pnpm
58- with :
5952 cache : true
6053
61- - name : π¦ Install dependencies
62- run : pnpm install
63-
6454 - name : πͺ Type check
65- run : pnpm test:types
55+ run : vp run test:types
6656
6757 unit :
6858 name : π§ͺ Unit tests
@@ -71,20 +61,13 @@ jobs:
7161 steps :
7262 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
7363
74- - uses : actions /setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
64+ - uses : voidzero-dev /setup-vp@a03302daa50cf2f017c8c7345730c2740df207d6 # v1
7565 with :
7666 node-version : lts/*
77-
78- - uses : pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # 4e1c8eafbd745f64b1ef30a7d7ed7965034c486c
79- name : π§ Install pnpm
80- with :
8167 cache : true
8268
83- - name : π¦ Install dependencies
84- run : pnpm install
85-
8669 - name : π§ͺ Unit tests
87- run : pnpm test:unit run --coverage --reporter=default --reporter=junit --outputFile=test-report.junit.xml
70+ run : vp test --project unit --coverage --reporter=default --reporter=junit --outputFile=test-report.junit.xml
8871
8972 - name : β¬οΈ Upload test results to Codecov
9073 if : ${{ !cancelled() }}
@@ -99,33 +82,26 @@ jobs:
9982 steps :
10083 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
10184
102- - uses : actions /setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
85+ - uses : voidzero-dev /setup-vp@a03302daa50cf2f017c8c7345730c2740df207d6 # v1
10386 with :
10487 node-version : lts/*
105-
106- - uses : pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # 4e1c8eafbd745f64b1ef30a7d7ed7965034c486c
107- name : π§ Install pnpm
108- with :
10988 cache : true
11089
111- - name : π¦ Install dependencies
112- run : pnpm install
113-
11490 - name : π Install browser
115- run : pnpm playwright install chromium-headless-shell
91+ run : vp exec playwright install chromium-headless-shell
11692
11793 - name : π§ͺ Component tests
118- run : pnpm test:nuxt run --coverage --reporter=default --reporter=junit --outputFile=test-report.junit.xml
94+ run : vp test --project nuxt --coverage --reporter=default --reporter=junit --outputFile=test-report.junit.xml
11995
12096 - name : β¬οΈ Upload coverage reports to Codecov
121- uses : codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5
97+ uses : codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v6
12298 with :
12399 report_type : test_results
124100 env :
125101 CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
126102
127103 - name : β¬οΈ Upload coverage reports to Codecov
128- uses : codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5
104+ uses : codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v6
129105 env :
130106 CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
131107
@@ -138,25 +114,18 @@ jobs:
138114 steps :
139115 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
140116
141- - uses : actions /setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
117+ - uses : voidzero-dev /setup-vp@a03302daa50cf2f017c8c7345730c2740df207d6 # v1
142118 with :
143119 node-version : lts/*
144-
145- - uses : pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # 4e1c8eafbd745f64b1ef30a7d7ed7965034c486c
146- name : π§ Install pnpm
147- with :
148120 cache : true
149121
150- - name : π¦ Install dependencies
151- run : pnpm install
152-
153122 - name : ποΈ Build project
154- run : pnpm build:test
123+ run : vp run build:test
155124 env :
156125 VALIDATE_HTML : true
157126
158127 - name : π₯οΈ Test project (browser)
159- run : pnpm test:browser:prebuilt
128+ run : vp run test:browser:prebuilt
160129
161130 a11y :
162131 name : βΏ Accessibility audit
@@ -168,23 +137,16 @@ jobs:
168137 steps :
169138 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
170139
171- - uses : actions /setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
140+ - uses : voidzero-dev /setup-vp@a03302daa50cf2f017c8c7345730c2740df207d6 # v1
172141 with :
173142 node-version : lts/*
174-
175- - uses : pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # 4e1c8eafbd745f64b1ef30a7d7ed7965034c486c
176- name : π§ Install pnpm
177- with :
178143 cache : true
179144
180- - name : π¦ Install dependencies
181- run : pnpm install
182-
183145 - name : ποΈ Build project
184- run : pnpm build:test
146+ run : vp run build:test
185147
186148 - name : βΏ Accessibility audit (Lighthouse - ${{ matrix.mode }} mode)
187- run : pnpm test:a11y:prebuilt
149+ run : vp run test:a11y:prebuilt
188150 env :
189151 LHCI_GITHUB_APP_TOKEN : ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
190152 LIGHTHOUSE_COLOR_MODE : ${{ matrix.mode }}
@@ -196,23 +158,13 @@ jobs:
196158 steps :
197159 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
198160
199- - uses : actions /setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
161+ - uses : voidzero-dev /setup-vp@a03302daa50cf2f017c8c7345730c2740df207d6 # v1
200162 with :
201163 node-version : lts/*
202-
203- - uses : pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # 4e1c8eafbd745f64b1ef30a7d7ed7965034c486c
204- name : π§ Install pnpm
205- with :
206164 cache : true
207165
208- - name : π¦ Install dependencies
209- run : pnpm install
210-
211166 - name : π§Ή Check for unused code
212- run : pnpm knip
213-
214- - name : π§Ή Check for unused production code
215- run : pnpm knip --production
167+ run : vp run knip
216168
217169 i18n :
218170 name : π i18n validation
@@ -221,22 +173,18 @@ jobs:
221173 steps :
222174 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
223175
224- - uses : actions /setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
176+ - uses : voidzero-dev /setup-vp@a03302daa50cf2f017c8c7345730c2740df207d6 # v1
225177 with :
226178 node-version : lts/*
227-
228- - uses : pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # 4e1c8eafbd745f64b1ef30a7d7ed7965034c486c
229- name : π§ Install pnpm
230- with :
231- cache : true
179+ run-install : false
232180
233181 - name : π¦ Install dependencies (root only, no scripts)
234- run : pnpm install --filter . --ignore-scripts
182+ run : vp install --filter . --ignore-scripts
235183
236184 - name : π Check for missing or dynamic i18n keys
237- run : pnpm i18n:report
185+ run : vp run i18n:report
238186
239187 - name : π Check i18n schema is up to date
240188 run : |
241- pnpm i18n:schema
189+ vp run i18n:schema
242190 git diff --exit-code i18n/schema.json
0 commit comments