actions-template-test
/
1.1.16
actions-template-test 1.1.16
Install from the command line:
Learn more about npm packages
$ npm install @tradeshift/actions-template-test@1.1.16
Install via package.json:
"@tradeshift/actions-template-test": "1.1.16"
About this version
Github action to help validate scaffolder templates for backstage.
The github action takes the same arguments as the template action.
jobs:
template:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: tradeshift/actions-template-test@v1
with:
url: ./template
targetPath: ./tmp
values: |
{
"name": "App",
"type": "public"
}
Note: to be published
const { runTemplate } = require('@tradeshift/actions-template-test');
await runTemplate({
url: './template',
targetPath: './tmp',
values: {},
});