Skip to content

Commit a5223b2

Browse files
committed
Change CI to run Vite version from package.json definition
Update to v8 is causing errors
1 parent ae0c205 commit a5223b2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
with:
3838
node-version: 22.x
3939
cache: 'npm'
40-
- run: npm install -g vite eslint @babel/eslint-parser
40+
- run: npm install -g eslint @babel/eslint-parser
4141

4242
- name: Install PHP
4343
uses: shivammathur/setup-php@master
@@ -118,8 +118,8 @@ jobs:
118118
if: steps.changed-css-js-files.outputs.all_changed_and_modified_files != ''
119119
run : |
120120
find dt-assets/ -iname "*.min.js" -or -iname "*.map" -or -iname "*.min.css" -delete && rm -rf build/
121-
vite build
122-
vite build --config vite.config.scripts.js
121+
npx vite build
122+
npx vite build --config vite.config.scripts.js
123123
git diff --exit-code -- . ':(exclude)package-lock.json'
124124
125125
- name: Install Subversion

0 commit comments

Comments
 (0)