@@ -28,18 +28,16 @@ jobs:
2828 steps :
2929 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3030
31- - uses : actions /setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
31+ - uses : voidzero-dev /setup-vp@1bc2c0c101cb14b233d41d9f113658852e3ba658 # v1
3232 with :
3333 node-version : lts/*
34-
35- - uses : pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # 4e1c8eafbd745f64b1ef30a7d7ed7965034c486c
36- name : 🟧 Install pnpm
34+ cache : true
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 lint
40+ run : vp run lint
4341
4442 types :
4543 name : 💪 Type check
@@ -48,18 +46,16 @@ jobs:
4846 steps :
4947 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5048
51- - uses : actions /setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
49+ - uses : voidzero-dev /setup-vp@1bc2c0c101cb14b233d41d9f113658852e3ba658 # v1
5250 with :
5351 node-version : lts/*
54-
55- - uses : pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # 4e1c8eafbd745f64b1ef30a7d7ed7965034c486c
56- name : 🟧 Install pnpm
52+ cache : true
5753
5854 - name : 📦 Install dependencies
59- run : pnpm install
55+ run : vp install
6056
6157 - name : 💪 Type check
62- run : pnpm test:types
58+ run : vp run test:types
6359
6460 unit :
6561 name : 🧪 Unit tests
@@ -68,18 +64,16 @@ jobs:
6864 steps :
6965 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
7066
71- - uses : actions /setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
67+ - uses : voidzero-dev /setup-vp@1bc2c0c101cb14b233d41d9f113658852e3ba658 # v1
7268 with :
7369 node-version : lts/*
74-
75- - uses : pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # 4e1c8eafbd745f64b1ef30a7d7ed7965034c486c
76- name : 🟧 Install pnpm
70+ cache : true
7771
7872 - name : 📦 Install dependencies
79- run : pnpm install
73+ run : vp install
8074
8175 - name : 🧪 Unit tests
82- run : pnpm test: unit run --coverage --reporter=default --reporter=junit --outputFile=test-report.junit.xml
76+ run : vp test --project unit run --coverage --reporter=default --reporter=junit --outputFile=test-report.junit.xml
8377
8478 - name : ⬆︎ Upload test results to Codecov
8579 if : ${{ !cancelled() }}
@@ -94,21 +88,19 @@ jobs:
9488 steps :
9589 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
9690
97- - uses : actions /setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
91+ - uses : voidzero-dev /setup-vp@1bc2c0c101cb14b233d41d9f113658852e3ba658 # v1
9892 with :
9993 node-version : lts/*
100-
101- - uses : pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # 4e1c8eafbd745f64b1ef30a7d7ed7965034c486c
102- name : 🟧 Install pnpm
94+ cache : true
10395
10496 - name : 📦 Install dependencies
105- run : pnpm install
97+ run : vp install
10698
10799 - name : 🌐 Install browser
108- run : pnpm playwright install chromium-headless-shell
100+ run : vp exec playwright install chromium-headless-shell
109101
110102 - name : 🧪 Component tests
111- run : pnpm test: nuxt run --coverage --reporter=default --reporter=junit --outputFile=test-report.junit.xml
103+ run : vp test --project nuxt run --coverage --reporter=default --reporter=junit --outputFile=test-report.junit.xml
112104
113105 - name : ⬆︎ Upload coverage reports to Codecov
114106 uses : codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5
@@ -131,23 +123,21 @@ jobs:
131123 steps :
132124 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
133125
134- - uses : actions /setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
126+ - uses : voidzero-dev /setup-vp@1bc2c0c101cb14b233d41d9f113658852e3ba658 # v1
135127 with :
136128 node-version : lts/*
137-
138- - uses : pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # 4e1c8eafbd745f64b1ef30a7d7ed7965034c486c
139- name : 🟧 Install pnpm
129+ cache : true
140130
141131 - name : 📦 Install dependencies
142- run : pnpm install
132+ run : vp install
143133
144134 - name : 🏗️ Build project
145- run : pnpm build:test
135+ run : vp run build:test
146136 env :
147137 VALIDATE_HTML : true
148138
149139 - name : 🖥️ Test project (browser)
150- run : pnpm test:browser:prebuilt
140+ run : vp run test:browser:prebuilt
151141
152142 a11y :
153143 name : ♿ Accessibility audit
@@ -159,21 +149,19 @@ jobs:
159149 steps :
160150 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
161151
162- - uses : actions /setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
152+ - uses : voidzero-dev /setup-vp@1bc2c0c101cb14b233d41d9f113658852e3ba658 # v1
163153 with :
164154 node-version : lts/*
165-
166- - uses : pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # 4e1c8eafbd745f64b1ef30a7d7ed7965034c486c
167- name : 🟧 Install pnpm
155+ cache : true
168156
169157 - name : 📦 Install dependencies
170- run : pnpm install
158+ run : vp install
171159
172160 - name : 🏗️ Build project
173- run : pnpm build:test
161+ run : vp run build:test
174162
175163 - name : ♿ Accessibility audit (Lighthouse - ${{ matrix.mode }} mode)
176- run : pnpm test:a11y:prebuilt
164+ run : vp run test:a11y:prebuilt
177165 env :
178166 LHCI_GITHUB_APP_TOKEN : ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
179167 LIGHTHOUSE_COLOR_MODE : ${{ matrix.mode }}
@@ -185,21 +173,19 @@ jobs:
185173 steps :
186174 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
187175
188- - uses : actions /setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
176+ - uses : voidzero-dev /setup-vp@1bc2c0c101cb14b233d41d9f113658852e3ba658 # v1
189177 with :
190178 node-version : lts/*
191-
192- - uses : pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # 4e1c8eafbd745f64b1ef30a7d7ed7965034c486c
193- name : 🟧 Install pnpm
179+ cache : true
194180
195181 - name : 📦 Install dependencies
196- run : pnpm install
182+ run : vp install
197183
198184 - name : 🧹 Check for unused code
199- run : pnpm knip
185+ run : vp run knip
200186
201187 - name : 🧹 Check for unused production code
202- run : pnpm knip --production --exclude dependencies
188+ run : vp run knip --production --exclude dependencies
203189
204190 i18n :
205191 name : 🌐 i18n validation
@@ -208,20 +194,18 @@ jobs:
208194 steps :
209195 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
210196
211- - uses : actions /setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
197+ - uses : voidzero-dev /setup-vp@1bc2c0c101cb14b233d41d9f113658852e3ba658 # v1
212198 with :
213199 node-version : lts/*
214-
215- - uses : pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # 4e1c8eafbd745f64b1ef30a7d7ed7965034c486c
216- name : 🟧 Install pnpm
200+ cache : true
217201
218202 - name : 📦 Install dependencies (root only, no scripts)
219- run : pnpm install --filter . --ignore-scripts
203+ run : vp install --filter . --ignore-scripts
220204
221205 - name : 🌐 Check for missing or dynamic i18n keys
222- run : pnpm i18n:report
206+ run : vp run i18n:report
223207
224208 - name : 🌐 Check i18n schema is up to date
225209 run : |
226- pnpm i18n:schema
210+ vp run i18n:schema
227211 git diff --exit-code i18n/schema.json
0 commit comments