3939 run : pnpm install --filter . --ignore-scripts
4040
4141 - name : 🔠 Lint project
42- run : pnpm lint
42+ run : pnpm vp run lint
4343
4444 types :
4545 name : 💪 Type check
5959 run : pnpm install
6060
6161 - name : 💪 Type check
62- run : pnpm test:types
62+ run : pnpm vp run test:types
6363
6464 unit :
6565 name : 🧪 Unit tests
7979 run : pnpm install
8080
8181 - name : 🧪 Unit tests
82- run : pnpm test:unit run --coverage --reporter=default --reporter=junit --outputFile=test-report.junit.xml
82+ run : pnpm vp test --project unit --coverage --reporter=default --reporter=junit --outputFile=test-report.junit.xml
8383
8484 - name : ⬆︎ Upload test results to Codecov
8585 if : ${{ !cancelled() }}
@@ -105,10 +105,10 @@ jobs:
105105 run : pnpm install
106106
107107 - name : 🌐 Install browser
108- run : pnpm playwright install chromium-headless-shell
108+ run : pnpm vp exec playwright install chromium-headless-shell
109109
110110 - name : 🧪 Component tests
111- run : pnpm test:nuxt run --coverage --reporter=default --reporter=junit --outputFile=test-report.junit.xml
111+ run : pnpm vp test --project nuxt --coverage --reporter=default --reporter=junit --outputFile=test-report.junit.xml
112112
113113 - name : ⬆︎ Upload coverage reports to Codecov
114114 uses : codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5
@@ -142,12 +142,12 @@ jobs:
142142 run : pnpm install
143143
144144 - name : 🏗️ Build project
145- run : pnpm build:test
145+ run : pnpm vp run build:test
146146 env :
147147 VALIDATE_HTML : true
148148
149149 - name : 🖥️ Test project (browser)
150- run : pnpm test:browser:prebuilt
150+ run : pnpm vp run test:browser:prebuilt
151151
152152 a11y :
153153 name : ♿ Accessibility audit
@@ -170,10 +170,10 @@ jobs:
170170 run : pnpm install
171171
172172 - name : 🏗️ Build project
173- run : pnpm build:test
173+ run : pnpm vp run build:test
174174
175175 - name : ♿ Accessibility audit (Lighthouse - ${{ matrix.mode }} mode)
176- run : pnpm test:a11y:prebuilt
176+ run : pnpm vp run test:a11y:prebuilt
177177 env :
178178 LHCI_GITHUB_APP_TOKEN : ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
179179 LIGHTHOUSE_COLOR_MODE : ${{ matrix.mode }}
@@ -196,10 +196,10 @@ jobs:
196196 run : pnpm install
197197
198198 - name : 🧹 Check for unused code
199- run : pnpm knip
199+ run : pnpm vp run knip
200200
201201 - name : 🧹 Check for unused production code
202- run : pnpm knip --production --exclude dependencies
202+ run : pnpm vp run knip --production --exclude dependencies
203203
204204 i18n :
205205 name : 🌐 i18n validation
@@ -219,9 +219,9 @@ jobs:
219219 run : pnpm install --filter . --ignore-scripts
220220
221221 - name : 🌐 Check for missing or dynamic i18n keys
222- run : pnpm i18n:report
222+ run : pnpm vp run i18n:report
223223
224224 - name : 🌐 Check i18n schema is up to date
225225 run : |
226- pnpm i18n:schema
226+ pnpm vp run i18n:schema
227227 git diff --exit-code i18n/schema.json
0 commit comments