Skip to content

actions-template-test 1.2.9

Install from the command line:
Learn more about npm packages
$ npm install @tradeshift/actions-template-test@1.2.9
Install via package.json:
"@tradeshift/actions-template-test": "1.2.9"

About this version

Actions-template-test

Github action to help validate scaffolder templates for backstage.

The github action takes the same arguments as the template action.

Use as github action

jobs:
  template:
    runs-on: ubuntu-20.04
    steps:
      - uses: actions/checkout@v3
      - uses: tradeshift/actions-template-test@v1
        with:
          url: ./template
          targetPath: ./tmp
          values: |
          {
            "name": "App",
            "type": "public"
          }

Use on the commandline

When developing a new template, it's easier to be able to generate the output locally to validate that everything works as expected.

The equivalent of the above github workflow would be:

npx @tradeshift/actions-template-test@latest \
		./template \
		./tmp \
		--set name='App' \
		--set type=public

Details


Assets

  • actions-template-test-1.2.9.tgz

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0