Skip to content

Commit bb88419

Browse files
committed
Update CI workflow to check for both bundle.js and bundle.mjs outputs after Vite build, improving flexibility in output file validation.
1 parent 98261e4 commit bb88419

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ jobs:
219219
}
220220
EOF
221221
npx vite build
222-
test -f dist/bundle.js
222+
test -f dist/bundle.js || test -f dist/bundle.mjs
223223
224224
elif [ "${{ matrix.bundler }}" = "webpack" ]; then
225225
npm install --save-dev webpack webpack-cli

0 commit comments

Comments
 (0)