@@ -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@8ecb39174989ce55af90f45cf55b02738599831d # v1
3232 with :
3333 node-version : lts/*
34-
35- - uses : pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # 4e1c8eafbd745f64b1ef30a7d7ed7965034c486c
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 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@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
49+ - uses : voidzero-dev /setup-vp@8ecb39174989ce55af90f45cf55b02738599831d # v1
5250 with :
5351 node-version : lts/*
54-
55- - uses : pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # 4e1c8eafbd745f64b1ef30a7d7ed7965034c486c
56- name : 🟧 Install pnpm
57-
58- - name : 📦 Install dependencies
59- run : pnpm install
52+ cache : true
6053
6154 - name : 💪 Type check
62- run : pnpm 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@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
64+ - uses : voidzero-dev /setup-vp@8ecb39174989ce55af90f45cf55b02738599831d # v1
7265 with :
7366 node-version : lts/*
74-
75- - uses : pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # 4e1c8eafbd745f64b1ef30a7d7ed7965034c486c
76- name : 🟧 Install pnpm
77-
78- - name : 📦 Install dependencies
79- run : pnpm install
67+ cache : true
8068
8169 - name : 🧪 Unit tests
82- 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
8371
8472 - name : ⬆︎ Upload test results to Codecov
8573 if : ${{ !cancelled() }}
@@ -94,31 +82,26 @@ jobs:
9482 steps :
9583 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
9684
97- - uses : actions /setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
85+ - uses : voidzero-dev /setup-vp@8ecb39174989ce55af90f45cf55b02738599831d # v1
9886 with :
9987 node-version : lts/*
100-
101- - uses : pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # 4e1c8eafbd745f64b1ef30a7d7ed7965034c486c
102- name : 🟧 Install pnpm
103-
104- - name : 📦 Install dependencies
105- run : pnpm install
88+ cache : true
10689
10790 - name : 🌐 Install browser
108- run : pnpm playwright install chromium-headless-shell
91+ run : vp exec playwright install chromium-headless-shell
10992
11093 - name : 🧪 Component tests
111- 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
11295
11396 - name : ⬆︎ Upload coverage reports to Codecov
114- uses : codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5
97+ uses : codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v6
11598 with :
11699 report_type : test_results
117100 env :
118101 CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
119102
120103 - name : ⬆︎ Upload coverage reports to Codecov
121- uses : codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5
104+ uses : codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v6
122105 env :
123106 CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
124107
@@ -131,23 +114,21 @@ jobs:
131114 steps :
132115 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
133116
134- - uses : actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
117+ - name : 👑 Fix Git ownership
118+ run : git config --global --add safe.directory /__w/npmx.dev/npmx.dev
119+
120+ - uses : voidzero-dev/setup-vp@8ecb39174989ce55af90f45cf55b02738599831d # v1
135121 with :
136122 node-version : lts/*
137-
138- - uses : pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # 4e1c8eafbd745f64b1ef30a7d7ed7965034c486c
139- name : 🟧 Install pnpm
140-
141- - name : 📦 Install dependencies
142- run : pnpm install
123+ cache : true
143124
144125 - name : 🏗️ Build project
145- run : pnpm build:test
126+ run : vp run build:test
146127 env :
147128 VALIDATE_HTML : true
148129
149130 - name : 🖥️ Test project (browser)
150- run : pnpm test:browser:prebuilt
131+ run : vp run test:browser:prebuilt
151132
152133 a11y :
153134 name : ♿ Accessibility audit
@@ -159,21 +140,16 @@ jobs:
159140 steps :
160141 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
161142
162- - uses : actions /setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
143+ - uses : voidzero-dev /setup-vp@8ecb39174989ce55af90f45cf55b02738599831d # v1
163144 with :
164145 node-version : lts/*
165-
166- - uses : pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # 4e1c8eafbd745f64b1ef30a7d7ed7965034c486c
167- name : 🟧 Install pnpm
168-
169- - name : 📦 Install dependencies
170- run : pnpm install
146+ cache : true
171147
172148 - name : 🏗️ Build project
173- run : pnpm build:test
149+ run : vp run build:test
174150
175151 - name : ♿ Accessibility audit (Lighthouse - ${{ matrix.mode }} mode)
176- run : pnpm test:a11y:prebuilt
152+ run : vp run test:a11y:prebuilt
177153 env :
178154 LHCI_GITHUB_APP_TOKEN : ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
179155 LIGHTHOUSE_COLOR_MODE : ${{ matrix.mode }}
@@ -185,21 +161,13 @@ jobs:
185161 steps :
186162 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
187163
188- - uses : actions /setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
164+ - uses : voidzero-dev /setup-vp@8ecb39174989ce55af90f45cf55b02738599831d # v1
189165 with :
190166 node-version : lts/*
191-
192- - uses : pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # 4e1c8eafbd745f64b1ef30a7d7ed7965034c486c
193- name : 🟧 Install pnpm
194-
195- - name : 📦 Install dependencies
196- run : pnpm install
167+ cache : true
197168
198169 - name : 🧹 Check for unused code
199- run : pnpm knip
200-
201- - name : 🧹 Check for unused production code
202- run : pnpm knip --production
170+ run : vp run knip
203171
204172 i18n :
205173 name : 🌐 i18n validation
@@ -208,20 +176,18 @@ jobs:
208176 steps :
209177 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
210178
211- - uses : actions /setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
179+ - uses : voidzero-dev /setup-vp@8ecb39174989ce55af90f45cf55b02738599831d # v1
212180 with :
213181 node-version : lts/*
214-
215- - uses : pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # 4e1c8eafbd745f64b1ef30a7d7ed7965034c486c
216- name : 🟧 Install pnpm
182+ run-install : false
217183
218184 - name : 📦 Install dependencies (root only, no scripts)
219- run : pnpm install --filter . --ignore-scripts
185+ run : vp install --filter . --ignore-scripts
220186
221187 - name : 🌐 Check for missing or dynamic i18n keys
222- run : pnpm i18n:report
188+ run : vp run i18n:report
223189
224190 - name : 🌐 Check i18n schema is up to date
225191 run : |
226- pnpm i18n:schema
192+ vp run i18n:schema
227193 git diff --exit-code i18n/schema.json
0 commit comments