File tree Expand file tree Collapse file tree 3 files changed +11
-3
lines changed
Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -30,13 +30,17 @@ jobs:
3030 os :
3131 - ubuntu-latest
3232 - windows-latest
33+ node :
34+ - 20
35+ - 22
36+ - 24
3337
3438 steps :
3539 - uses : actions/checkout@v4
3640 - uses : pnpm/action-setup@v4
3741 - uses : actions/setup-node@v4
3842 with :
39- node-version : 20
43+ node-version : ${{ matrix.node }}
4044 cache : pnpm
4145 - name : Set TEMP to D:/Temp on windows
4246 if : ${{matrix.os}} == windows-latest
Original file line number Diff line number Diff line change 1+ import { dirname } from 'node:path' ;
2+ import { fileURLToPath } from 'node:url' ;
13import {
24 babelCompatSupport ,
35 templateCompatSupport ,
@@ -28,7 +30,7 @@ export default {
2830 [
2931 '@babel/plugin-transform-runtime' ,
3032 {
31- absoluteRuntime : import . meta. dirname ,
33+ absoluteRuntime : dirname ( fileURLToPath ( import . meta. url ) ) ,
3234 useESModules : true ,
3335 regenerator : false ,
3436 } ,
Original file line number Diff line number Diff line change 1+ import { dirname } from 'node:path' ;
2+ import { fileURLToPath } from 'node:url' ;
13import {
24 babelCompatSupport ,
35 templateCompatSupport ,
@@ -36,7 +38,7 @@ export default {
3638 [
3739 '@babel/plugin-transform-runtime' ,
3840 {
39- absoluteRuntime : import . meta. dirname ,
41+ absoluteRuntime : dirname ( fileURLToPath ( import . meta. url ) ) ,
4042 useESModules : true ,
4143 regenerator : false ,
4244 } ,
You can’t perform that action at this time.
0 commit comments