import { setFailed } from '@actions/core' import getInputs from './inputs' import setOutputs from './outputs' import installPnpm from './install-pnpm' async function main() { const inputs = getInputs() await installPnpm(inputs) console.log('Installation Completed!') setOutputs(inputs) } main().catch(error => { console.error(error) setFailed(error) })