Skip to content

Commit e9649f9

Browse files
committed
ci: pnpm vp
1 parent b7d8aa3 commit e9649f9

3 files changed

Lines changed: 17 additions & 17 deletions

File tree

β€Ž.github/workflows/autofix.ymlβ€Ž

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@ jobs:
3131
run: pnpm install
3232

3333
- name: 🎨 Check for non-RTL/non-a11y CSS classes
34-
run: vp run lint:css
34+
run: pnpm vp run lint:css
3535

3636
- name: 🌐 Compare translations
37-
run: vp run i18n:check
37+
run: pnpm vp run i18n:check
3838

3939
- name: 🌍 Update lunaria data
40-
run: vp run build:lunaria
40+
run: pnpm vp run build:lunaria
4141

4242
- name: πŸ”  Fix lint errors
43-
run: vp run lint:fix
43+
run: pnpm vp run lint:fix
4444

4545
- uses: autofix-ci/action@635ffb0c9798bd160680f18fd73371e355b85f27 # 635ffb0c9798bd160680f18fd73371e355b85f27

β€Ž.github/workflows/ci.ymlβ€Ž

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
run: pnpm install --filter . --ignore-scripts
4040

4141
- name: πŸ”  Lint project
42-
run: vp run lint
42+
run: pnpm vp run lint
4343

4444
types:
4545
name: πŸ’ͺ Type check
@@ -59,7 +59,7 @@ jobs:
5959
run: pnpm install
6060

6161
- name: πŸ’ͺ Type check
62-
run: vp run test:types
62+
run: pnpm vp run test:types
6363

6464
unit:
6565
name: πŸ§ͺ Unit tests
@@ -79,7 +79,7 @@ jobs:
7979
run: pnpm install
8080

8181
- name: πŸ§ͺ Unit tests
82-
run: vp test --project unit --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: vp exec playwright install chromium-headless-shell
108+
run: pnpm vp exec playwright install chromium-headless-shell
109109

110110
- name: πŸ§ͺ Component tests
111-
run: vp test --project nuxt --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: vp run build:test
145+
run: pnpm vp run build:test
146146
env:
147147
VALIDATE_HTML: true
148148

149149
- name: πŸ–₯️ Test project (browser)
150-
run: vp run 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: vp run build:test
173+
run: pnpm vp run build:test
174174

175175
- name: β™Ώ Accessibility audit (Lighthouse - ${{ matrix.mode }} mode)
176-
run: vp run 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: vp run knip
199+
run: pnpm vp run knip
200200

201201
- name: 🧹 Check for unused production code
202-
run: vp run knip --production --exclude dependencies
202+
run: pnpm vp run knip --production --exclude dependencies
203203

204204
i18n:
205205
name: 🌐 i18n validation
@@ -219,7 +219,7 @@ jobs:
219219
run: pnpm install --filter . --ignore-scripts
220220

221221
- name: 🌐 Check for missing or dynamic i18n keys
222-
run: vp run i18n:report
222+
run: pnpm vp run i18n:report
223223

224224
- name: 🌐 Check i18n schema is up to date
225225
run: |

β€Ž.github/workflows/release-tag.ymlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464

6565
- name: πŸ“¦ Install dependencies
6666
if: steps.check.outputs.skip == 'false'
67-
run: vp install --filter . --ignore-scripts
67+
run: pnpm vp install --filter . --ignore-scripts
6868

6969
- name: πŸ“ Generate release notes
7070
if: steps.check.outputs.skip == 'false'

0 commit comments

Comments
Β (0)