File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
packages/unplugin-vue-i18n/test Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1717
1818jobs :
1919 test :
20- name : ' Test on Node.js ${{ matrix.node }} OS: ${{matrix.os}}'
20+ name : ' Test on Node.js ${{ matrix.node }} OS: ${{matrix.os}} (${{ matrix.framework }}) '
2121 runs-on : ${{ matrix.os }}
2222 strategy :
2323 matrix :
2424 os : [ubuntu-latest]
2525 node : [18, 20, 22]
26- builder : ['vite', 'rspack', 'webpack']
26+ framework : ['vite', 'rspack', 'webpack']
2727 steps :
2828 - name : Checkout
2929 uses : actions/checkout@v4
6060 - name : Testing
6161 run : pnpm test
6262 env :
63- TEST_BUILDER : ${{ matrix.builder }}
63+ TEST_FRAMEWORK : ${{ matrix.framework }}
Original file line number Diff line number Diff line change 142142 "test:unit:rollup" : " vitest run packages/rollup-plugin-vue-i18n/test" ,
143143 "test:unit:unplugin" : " vitest run packages/unplugin-vue-i18n/test" ,
144144 "test:unit:unplugin-all" : " run-s \" test:unit:unplugin:*\" " ,
145- "test:unit:unplugin:vite" : " TEST_BUILDER =vite vitest run packages/unplugin-vue-i18n/test" ,
146- "test:unit:unplugin:webpack" : " TEST_BUILDER =webpack vitest run packages/unplugin-vue-i18n/test" ,
147- "test:unit:unplugin:rspack" : " TEST_BUILDER =rspack vitest run packages/unplugin-vue-i18n/test" ,
145+ "test:unit:unplugin:vite" : " TEST_FRAMEWORK =vite vitest run packages/unplugin-vue-i18n/test" ,
146+ "test:unit:unplugin:webpack" : " TEST_FRAMEWORK =webpack vitest run packages/unplugin-vue-i18n/test" ,
147+ "test:unit:unplugin:rspack" : " TEST_FRAMEWORK =rspack vitest run packages/unplugin-vue-i18n/test" ,
148148 "changelog" : " jiti ./scripts/changelog.ts" ,
149149 "changelog:utils" : " pnpm --filter @intlify/bundle-utils changelog" ,
150150 "changelog:rollup" : " pnpm --filter @intlify/rollup-plugin-vue-i18n changelog" ,
Original file line number Diff line number Diff line change @@ -191,7 +191,7 @@ const bundlerMap = {
191191}
192192
193193export function getCurrentTestFramework ( ) {
194- return ( process . env . TEST_BUILDER as keyof typeof bundlerMap ) || 'vite'
194+ return ( process . env . TEST_FRAMEWORK as keyof typeof bundlerMap ) || 'vite'
195195}
196196
197197export function getCurrentTestBundler ( ) {
You can’t perform that action at this time.
0 commit comments