bin/create-action.js
async function readTemplate (filename) {
  const templateDir = path.join(__dirname, 'template')
  return readFile(path.join(templateDir, filename), 'utf8')
}
async function readTemplate (filename) {
  const templateDir = path.join(__dirname, 'template')
  return readFile(path.join(templateDir, filename), 'utf8')
}
async function readTemplate ( filename ) { const templateDir = path . join ( __dirname , 'template' ) return readFile ( path . join ( templateDir , filename ) , 'utf8' ) }
Reads a template file from disk.

@param {string} filename The template filename to read.
@returns {Promise<string>} The template file string contents.
Reads a template file from disk .