File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -22,12 +22,11 @@ const registerTsNode = (options = {}) => {
2222 return ;
2323 }
2424
25- tsNode . register ( { ...options } ) ;
25+ tsNode . register ( { ...options } ) ;
2626 tsNodeRegistered = true ;
2727} ;
2828
2929export const build = async ( ) => {
30-
3130 registerTsNode ( ) ;
3231
3332 const workflowFilesPaths = getWorkflowsPaths ( ) ;
@@ -41,7 +40,7 @@ export const build = async () => {
4140 const tsWorkflowPath = workflowFilesPaths [ i ] ;
4241 const exportedWorkflows = await import ( tsWorkflowPath ) ;
4342 for ( const name in exportedWorkflows ) {
44- const yamlWorkflowPath = path . join ( path . dirname ( tsWorkflowPath ) , `${ name } .yml` ) ;
43+ const yamlWorkflowPath = path . join ( ".github" , "workflows" , `${ name } .yml` ) ;
4544 log ( `Writing to ${ relativePath ( yamlWorkflowPath ) } :` ) ;
4645
4746 const content = jsYaml . dump ( exportedWorkflows [ name ] ) ;
You can’t perform that action at this time.
0 commit comments