File tree Expand file tree Collapse file tree 5 files changed +12
-8
lines changed Expand file tree Collapse file tree 5 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 66 "plugins" : [
77 " json" ,
88 " node"
9- ]
9+ ],
10+ "parserOptions" : {
11+ "sourceType" : " module"
12+ },
13+ "rules" : {
14+ "node/no-missing-import" : " off" ,
15+ "node/no-unsupported-features/es-syntax" : " off"
16+ }
1017}
Original file line number Diff line number Diff line change 1- 'use strict' ;
21let problemMatcher = require ( '../.github/problem-matcher.json' ) ;
32problemMatcher = problemMatcher . problemMatcher [ 0 ] ;
43
Original file line number Diff line number Diff line change @@ -430,6 +430,5 @@ async function run(){
430430 }
431431}
432432run ( ) ;
433- var src = run ;
434433
435- module . exports = src ;
434+ module . exports = run ;
Original file line number Diff line number Diff line change @@ -12,12 +12,12 @@ export default {
1212 format : 'cjs' ,
1313 preferConst : true ,
1414 indent : '\t' ,
15- exports : 'auto '
15+ exports : 'default '
1616 }
1717 ] ,
1818 plugins : [
1919 resolve ( ) ,
20- commonjs ( ) ,
20+ commonjs ( { transformMixedEsModules : true } ) ,
2121 json ( )
2222 ]
2323} ;
Original file line number Diff line number Diff line change 1- 'use strict' ;
21const fs = require ( 'fs' ) . promises ;
32const path = require ( 'path' ) ;
43const { getInput, setFailed} = require ( '@actions/core' ) ;
@@ -30,4 +29,4 @@ async function run(){
3029 }
3130}
3231run ( ) ;
33- module . exports = run ;
32+ export default run ;
You can’t perform that action at this time.
0 commit comments