@@ -28,18 +28,16 @@ jobs:
2828 steps :
2929 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3030
31- - uses : actions /setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
31+ - uses : voidzero-dev /setup-vp@8ecb39174989ce55af90f45cf55b02738599831d # v1
3232 with :
3333 node-version : lts/*
34-
35- - uses : pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # 5e1c8eafbd745f64b1ef30a7d7ed7965034c486c
36- name : 🟧 Install pnpm
34+ run-install : false
3735
3836 - name : 📦 Install dependencies (root only, no scripts)
39- run : pnpm install --filter . --ignore-scripts
37+ run : vp install --filter . --ignore-scripts
4038
4139 - name : 🔠 Lint project
42- run : pnpm vp run lint
40+ run : vp run lint
4341
4442 types :
4543 name : 💪 Type check
@@ -48,18 +46,13 @@ jobs:
4846 steps :
4947 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5048
51- - uses : actions /setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
49+ - uses : voidzero-dev /setup-vp@8ecb39174989ce55af90f45cf55b02738599831d # v1
5250 with :
5351 node-version : lts/*
54-
55- - uses : pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # 5e1c8eafbd745f64b1ef30a7d7ed7965034c486c
56- name : 🟧 Install pnpm
57-
58- - name : 📦 Install dependencies
59- run : pnpm install
52+ cache : true
6053
6154 - name : 💪 Type check
62- run : pnpm vp run test:types
55+ run : vp run test:types
6356
6457 unit :
6558 name : 🧪 Unit tests
@@ -68,18 +61,13 @@ jobs:
6861 steps :
6962 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
7063
71- - uses : actions /setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
64+ - uses : voidzero-dev /setup-vp@8ecb39174989ce55af90f45cf55b02738599831d # v1
7265 with :
7366 node-version : lts/*
74-
75- - uses : pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # 5e1c8eafbd745f64b1ef30a7d7ed7965034c486c
76- name : 🟧 Install pnpm
77-
78- - name : 📦 Install dependencies
79- run : pnpm install
67+ cache : true
8068
8169 - name : 🧪 Unit tests
82- run : pnpm vp test --project unit --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
8371
8472 - name : ⬆︎ Upload test results to Codecov
8573 if : ${{ !cancelled() }}
@@ -94,21 +82,16 @@ jobs:
9482 steps :
9583 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
9684
97- - uses : actions /setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
85+ - uses : voidzero-dev /setup-vp@8ecb39174989ce55af90f45cf55b02738599831d # v1
9886 with :
9987 node-version : lts/*
100-
101- - uses : pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # 5e1c8eafbd745f64b1ef30a7d7ed7965034c486c
102- name : 🟧 Install pnpm
103-
104- - name : 📦 Install dependencies
105- run : pnpm install
88+ cache : true
10689
10790 - name : 🌐 Install browser
108- run : pnpm vp exec playwright install chromium-headless-shell
91+ run : vp exec playwright install chromium-headless-shell
10992
11093 - name : 🧪 Component tests
111- run : pnpm vp test --project nuxt --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
11295
11396 - name : ⬆︎ Upload coverage reports to Codecov
11497 uses : codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v6
@@ -131,23 +114,18 @@ jobs:
131114 steps :
132115 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
133116
134- - uses : actions /setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
117+ - uses : voidzero-dev /setup-vp@8ecb39174989ce55af90f45cf55b02738599831d # v1
135118 with :
136119 node-version : lts/*
137-
138- - uses : pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # 5e1c8eafbd745f64b1ef30a7d7ed7965034c486c
139- name : 🟧 Install pnpm
140-
141- - name : 📦 Install dependencies
142- run : pnpm install
120+ cache : true
143121
144122 - name : 🏗️ Build project
145- run : pnpm vp run build:test
123+ run : vp run build:test
146124 env :
147125 VALIDATE_HTML : true
148126
149127 - name : 🖥️ Test project (browser)
150- run : pnpm vp run test:browser:prebuilt
128+ run : vp run test:browser:prebuilt
151129
152130 a11y :
153131 name : ♿ Accessibility audit
@@ -159,21 +137,16 @@ jobs:
159137 steps :
160138 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
161139
162- - uses : actions /setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
140+ - uses : voidzero-dev /setup-vp@8ecb39174989ce55af90f45cf55b02738599831d # v1
163141 with :
164142 node-version : lts/*
165-
166- - uses : pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # 5e1c8eafbd745f64b1ef30a7d7ed7965034c486c
167- name : 🟧 Install pnpm
168-
169- - name : 📦 Install dependencies
170- run : pnpm install
143+ cache : true
171144
172145 - name : 🏗️ Build project
173- run : pnpm vp run build:test
146+ run : vp run build:test
174147
175148 - name : ♿ Accessibility audit (Lighthouse - ${{ matrix.mode }} mode)
176- run : pnpm vp run test:a11y:prebuilt
149+ run : vp run test:a11y:prebuilt
177150 env :
178151 LHCI_GITHUB_APP_TOKEN : ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
179152 LIGHTHOUSE_COLOR_MODE : ${{ matrix.mode }}
@@ -185,18 +158,13 @@ jobs:
185158 steps :
186159 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
187160
188- - uses : actions /setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
161+ - uses : voidzero-dev /setup-vp@8ecb39174989ce55af90f45cf55b02738599831d # v1
189162 with :
190163 node-version : lts/*
191-
192- - uses : pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # 5e1c8eafbd745f64b1ef30a7d7ed7965034c486c
193- name : 🟧 Install pnpm
194-
195- - name : 📦 Install dependencies
196- run : pnpm install
164+ cache : true
197165
198166 - name : 🧹 Check for unused code
199- run : pnpm vp run knip
167+ run : vp run knip
200168
201169 i18n :
202170 name : 🌐 i18n validation
@@ -205,20 +173,18 @@ jobs:
205173 steps :
206174 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
207175
208- - uses : actions /setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
176+ - uses : voidzero-dev /setup-vp@8ecb39174989ce55af90f45cf55b02738599831d # v1
209177 with :
210178 node-version : lts/*
211-
212- - uses : pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # 5e1c8eafbd745f64b1ef30a7d7ed7965034c486c
213- name : 🟧 Install pnpm
179+ run-install : false
214180
215181 - name : 📦 Install dependencies (root only, no scripts)
216- run : pnpm install --filter . --ignore-scripts
182+ run : vp install --filter . --ignore-scripts
217183
218184 - name : 🌐 Check for missing or dynamic i18n keys
219- run : pnpm vp run i18n:report
185+ run : vp run i18n:report
220186
221187 - name : 🌐 Check i18n schema is up to date
222188 run : |
223- pnpm vp run i18n:schema
189+ vp run i18n:schema
224190 git diff --exit-code i18n/schema.json
0 commit comments